4
1
mirror of https://github.com/QuasarApp/CQtDeployer.git synced 2025-05-02 12:39:35 +00:00

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

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