mirror of
https://github.com/netinvent/npbackup.git
synced 2025-02-23 22:15:43 +08:00
Don't build installer for now
This commit is contained in:
parent
9f8814499a
commit
6b209b3fc1
1 changed files with 5 additions and 5 deletions
|
@ -306,6 +306,7 @@ def compile(arch: str, audience: str, build_type: str, onefile: bool):
|
|||
if exit_code != 0:
|
||||
errors = True
|
||||
|
||||
"""
|
||||
# windows only installer compilation
|
||||
if os.name == "nt":
|
||||
_installer_version = installer_version.split("-")[0]
|
||||
|
@ -338,11 +339,10 @@ def compile(arch: str, audience: str, build_type: str, onefile: bool):
|
|||
exit_code, output = command_runner(CMD, timeout=0, live_output=True)
|
||||
if exit_code != 0:
|
||||
errors = True
|
||||
else:
|
||||
## Create version file
|
||||
with open(os.path.join(BUILDS_DIR, audience, "VERSION"), "w") as fh:
|
||||
fh.write(npbackup_version)
|
||||
|
||||
"""
|
||||
## Create version file
|
||||
with open(os.path.join(BUILDS_DIR, audience, "VERSION"), "w") as fh:
|
||||
fh.write(npbackup_version)
|
||||
print("COMPILE ERRORS", errors)
|
||||
return not errors
|
||||
|
||||
|
|
Loading…
Reference in a new issue