Merge branch 'v1.5.3' of github.com:QuasarApp/CQtDeployer into v1.5.3

This commit is contained in:
Andrei Yankovich 2021-07-15 16:39:06 +03:00
commit f11bb4e1b1

View File

@ -87,19 +87,12 @@ function systemIntegration() {
console.log("hometDir " + homeDir) console.log("hometDir " + homeDir)
if (systemInfo.kernelType === "winnt") { if (systemInfo.kernelType === "winnt") {
component.addOperation('EnvironmentVariable',
[
"cqtdeployer",
targetDir + "\\" + VERSION + "\\cqtdeployer.bat"
]
)
component.addOperation('EnvironmentVariable', component.addOperation('Execute', ["SETX", "cqtdeployer", targetDir + "\\" + VERSION + "\\cqtdeployer.bat"],
[ "UNDOEXECUTE", ["SETX", "cqtdeployer", ""])
"cqtDir", component.addOperation('Execute', ["SETX", "cqtDir", targetDir + "\\" + VERSION + "\\"],
targetDir + "\\" + VERSION + "\\" "UNDOEXECUTE", ["SETX", "cqtDir", ""])
]
)
let PATH = installer.environmentVariable("PATH"); let PATH = installer.environmentVariable("PATH");
const cqtDir = installer.environmentVariable("cqtDir"); const cqtDir = installer.environmentVariable("cqtDir");