mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 22:55:06 +03:00
Change condition
This commit is contained in:
parent
e3976feb7a
commit
103ed32cdd
1 changed files with 4 additions and 4 deletions
|
@ -41,7 +41,9 @@ if not exist %ALLUSERSPROFILE%\\Yggdrasil (
|
|||
)
|
||||
if not exist %ALLUSERSPROFILE%\\Yggdrasil\\yggdrasil.conf (
|
||||
if exist yggdrasil.exe (
|
||||
yggdrasil.exe -genconf > %ALLUSERSPROFILE%\\Yggdrasil\\yggdrasil.conf
|
||||
if not exist %ALLUSERSPROFILE%\\Yggdrasil\\yggdrasil.conf (
|
||||
yggdrasil.exe -genconf > %ALLUSERSPROFILE%\\Yggdrasil\\yggdrasil.conf
|
||||
)
|
||||
)
|
||||
)
|
||||
EOF
|
||||
|
@ -188,9 +190,7 @@ cat > wix.xml << EOF
|
|||
<InstallExecuteSequence>
|
||||
<Custom
|
||||
Action="UpdateGenerateConfig"
|
||||
Before="StartServices">
|
||||
NOT Installed AND NOT REMOVE
|
||||
</Custom>
|
||||
Before="StartServices" />
|
||||
</InstallExecuteSequence>
|
||||
|
||||
</Product>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue