5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-09-19 16:09:36 +00:00

Defer updateconfig

This commit is contained in:
Neil Alexander 2019-11-28 10:42:57 +00:00
parent e64d661ab0
commit 724446bb04
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -45,6 +45,7 @@ fi
# Create the postinstall script
cat > config.bat << EOF
if exist yggdrasil.conf (
move yggdrasil.conf yggdrasil.conf.backup
yggdrasil.exe -useconffile yggdrasil.conf.backup -normaliseconf > yggdrasil.conf
@ -173,8 +174,8 @@ cat > wix.xml << EOF
Id="UpdateGenerateConfig"
Directory="YggdrasilInstallFolder"
ExeCommand="cmd.exe /c updateconfig.bat"
Execute="commit"
Return="asyncWait" />
Execute="deferred"
Return="check" />
<InstallExecuteSequence>
<Custom