@libs-scripts-mep/grav-fw-pvi 2.3.1 → 2.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/grav-fw-pvi.js +2 -2
  2. package/package.json +1 -1
package/grav-fw-pvi.js CHANGED
@@ -70,7 +70,7 @@ class GravaFW {
70
70
  resolve({ sucess: false, msg: `Nenhum diretório de firmware ou option byte informado` })
71
71
  }
72
72
 
73
- pvi.runInstructionS("EXEC", [`C:/Program Files (x86)/STMicroelectronics/st_toolset/stvp/STVP_CmdLine.exe`, ObjWriteSTM8.commandLineArguments, "true", "true"])
73
+ pvi.runInstructionS("EXEC", [`${pvi.runInstructionS("GETRESOURCESPATH", [])}\\stvp\\STVP_CmdLine.exe`, ObjWriteSTM8.commandLineArguments, "true", "true"])
74
74
 
75
75
  })
76
76
 
@@ -169,7 +169,7 @@ class GravaFW {
169
169
 
170
170
  }, "sniffer.exec")
171
171
 
172
- pvi.runInstructionS("EXEC", [`${pvi.runInstructionS("GETPVIPATH", [])}/Resources/Renesas/RFPV3.Console.exe`, dirProject, "true", "true"])
172
+ pvi.runInstructionS("EXEC", [`${pvi.runInstructionS("GETRESOURCESPATH", [])}/Renesas/RFPV3.Console.exe`, dirProject, "true", "true"])
173
173
 
174
174
  let timeOutGravacao = setTimeout(() => {
175
175
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libs-scripts-mep/grav-fw-pvi",
3
- "version": "2.3.1",
3
+ "version": "2.3.3",
4
4
  "description": "Auxilia na gravação de microcontroladores por linha de comando através do PVI",
5
5
  "main": "grav-fw-pvi.js",
6
6
  "scripts": {