mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-12 23:20:28 +00:00
Defer updateconfig
This commit is contained in:
parent
e64d661ab0
commit
724446bb04
@ -45,6 +45,7 @@ fi
|
|||||||
|
|
||||||
# Create the postinstall script
|
# Create the postinstall script
|
||||||
cat > config.bat << EOF
|
cat > config.bat << EOF
|
||||||
|
|
||||||
if exist yggdrasil.conf (
|
if exist yggdrasil.conf (
|
||||||
move yggdrasil.conf yggdrasil.conf.backup
|
move yggdrasil.conf yggdrasil.conf.backup
|
||||||
yggdrasil.exe -useconffile yggdrasil.conf.backup -normaliseconf > yggdrasil.conf
|
yggdrasil.exe -useconffile yggdrasil.conf.backup -normaliseconf > yggdrasil.conf
|
||||||
@ -173,8 +174,8 @@ cat > wix.xml << EOF
|
|||||||
Id="UpdateGenerateConfig"
|
Id="UpdateGenerateConfig"
|
||||||
Directory="YggdrasilInstallFolder"
|
Directory="YggdrasilInstallFolder"
|
||||||
ExeCommand="cmd.exe /c updateconfig.bat"
|
ExeCommand="cmd.exe /c updateconfig.bat"
|
||||||
Execute="commit"
|
Execute="deferred"
|
||||||
Return="asyncWait" />
|
Return="check" />
|
||||||
|
|
||||||
<InstallExecuteSequence>
|
<InstallExecuteSequence>
|
||||||
<Custom
|
<Custom
|
||||||
|
Loading…
Reference in New Issue
Block a user