mirror of
https://github.com/netinvent/npbackup.git
synced 2025-02-24 14:35:36 +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:
|
if exit_code != 0:
|
||||||
errors = True
|
errors = True
|
||||||
|
|
||||||
|
"""
|
||||||
# windows only installer compilation
|
# windows only installer compilation
|
||||||
if os.name == "nt":
|
if os.name == "nt":
|
||||||
_installer_version = installer_version.split("-")[0]
|
_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)
|
exit_code, output = command_runner(CMD, timeout=0, live_output=True)
|
||||||
if exit_code != 0:
|
if exit_code != 0:
|
||||||
errors = True
|
errors = True
|
||||||
else:
|
"""
|
||||||
## Create version file
|
## Create version file
|
||||||
with open(os.path.join(BUILDS_DIR, audience, "VERSION"), "w") as fh:
|
with open(os.path.join(BUILDS_DIR, audience, "VERSION"), "w") as fh:
|
||||||
fh.write(npbackup_version)
|
fh.write(npbackup_version)
|
||||||
|
|
||||||
print("COMPILE ERRORS", errors)
|
print("COMPILE ERRORS", errors)
|
||||||
return not errors
|
return not errors
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue