Installers for all platforms and related fixes #1
@@ -978,6 +978,10 @@ def _show_fatal_error(exc: BaseException) -> None:
|
|||||||
|
|
||||||
def gui_main() -> None:
|
def gui_main() -> None:
|
||||||
"""Run the GUI, rendering fatal exceptions as a TraceRite HTML window."""
|
"""Run the GUI, rendering fatal exceptions as a TraceRite HTML window."""
|
||||||
|
# Velopack runs the app with --veloapp-* hook arguments during install,
|
||||||
|
# update, and uninstall; these must exit fast instead of starting the GUI.
|
||||||
|
if any(arg.startswith("--veloapp-") for arg in sys.argv[1:]):
|
||||||
|
return
|
||||||
try:
|
try:
|
||||||
winmain()
|
winmain()
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
|
|||||||
@@ -338,6 +338,9 @@ def create_zip(version: str) -> Path:
|
|||||||
raise FileNotFoundError(f"Distribution folder not found: {dist_folder}")
|
raise FileNotFoundError(f"Distribution folder not found: {dist_folder}")
|
||||||
|
|
||||||
zip_name = f"MediaHive-{version}-{_platform_zip_suffix()}.zip"
|
zip_name = f"MediaHive-{version}-{_platform_zip_suffix()}.zip"
|
||||||
|
if sys.platform == "win32":
|
||||||
|
# Distinguish from the Velopack installer (MediaHive-*-win64-setup.exe)
|
||||||
|
zip_name = zip_name.replace("-win64.zip", "-win64-portable.zip")
|
||||||
zip_path = repo_root / "build" / zip_name
|
zip_path = repo_root / "build" / zip_name
|
||||||
zip_path.parent.mkdir(parents=True, exist_ok=True)
|
zip_path.parent.mkdir(parents=True, exist_ok=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user