Merge pull request #359 from arabcoders/dev
Some checks failed
Build WebView wrappers / build (amd64, ubuntu-latest) (push) Has been cancelled
Build WebView wrappers / build (amd64, windows-latest) (push) Has been cancelled
Build WebView wrappers / build (arm64, macos-latest) (push) Has been cancelled
Build WebView wrappers / build (arm64, ubuntu-latest) (push) Has been cancelled
Build WebView wrappers / build (arm64, windows-latest) (push) Has been cancelled
Some checks failed
Build WebView wrappers / build (amd64, ubuntu-latest) (push) Has been cancelled
Build WebView wrappers / build (amd64, windows-latest) (push) Has been cancelled
Build WebView wrappers / build (arm64, macos-latest) (push) Has been cancelled
Build WebView wrappers / build (arm64, ubuntu-latest) (push) Has been cancelled
Build WebView wrappers / build (arm64, windows-latest) (push) Has been cancelled
fix windows build
This commit is contained in:
commit
4c5ebf2f39
1 changed files with 0 additions and 17 deletions
17
app.spec
17
app.spec
|
|
@ -1,24 +1,8 @@
|
|||
import importlib.util
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
import tomllib
|
||||
|
||||
spec = importlib.util.spec_from_file_location("version", "./app/library/version.py")
|
||||
ver = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(ver)
|
||||
|
||||
with open("version.txt", "w") as f:
|
||||
f.write(f"""# UTF-8
|
||||
# FileVersion: "{ver.APP_VERSION}"
|
||||
# ProductVersion: "{ver.APP_VERSION}"
|
||||
# FileDescription: "YTPTube build {ver.APP_COMMIT_SHA}"
|
||||
# ProductName: "YTPTube"
|
||||
# OriginalFilename: "ytptube.exe"
|
||||
# InternalName: "YTPTube"
|
||||
# Comments: "Built from {ver.APP_BRANCH} at {ver.APP_BUILD_DATE}"
|
||||
""")
|
||||
|
||||
block_cipher = None
|
||||
|
||||
machine = platform.machine().lower()
|
||||
|
|
@ -79,7 +63,6 @@ exe = EXE( # type: ignore # noqa: F821
|
|||
debug=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
version="version.txt",
|
||||
console=False, # Turn on to True if you want a console window for debugging.
|
||||
icon="ui/public/favicon.ico",
|
||||
onefile=True,
|
||||
|
|
|
|||
Loading…
Reference in a new issue