mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-05-05 05:59:35 +00:00
Merge branch 'v1.5.3' of github.com:QuasarApp/CQtDeployer into v1.5.3
This commit is contained in:
commit
f11bb4e1b1
@ -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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user