summaryrefslogtreecommitdiffstats
path: root/projects/windows/main.spec
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-09 19:19:33 +0200
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-09 19:19:33 +0200
commit90715e702bbebcf2c3cfd39628c931bbadda28b0 (patch)
treef574bae75b22ee59e5c60e2f6f4017338614fd8c /projects/windows/main.spec
parentAdd async client docs (diff)
downloadgpt4free-90715e702bbebcf2c3cfd39628c931bbadda28b0.tar
gpt4free-90715e702bbebcf2c3cfd39628c931bbadda28b0.tar.gz
gpt4free-90715e702bbebcf2c3cfd39628c931bbadda28b0.tar.bz2
gpt4free-90715e702bbebcf2c3cfd39628c931bbadda28b0.tar.lz
gpt4free-90715e702bbebcf2c3cfd39628c931bbadda28b0.tar.xz
gpt4free-90715e702bbebcf2c3cfd39628c931bbadda28b0.tar.zst
gpt4free-90715e702bbebcf2c3cfd39628c931bbadda28b0.zip
Diffstat (limited to '')
-rw-r--r--projects/windows/main.spec (renamed from windows/main.spec)27
1 files changed, 13 insertions, 14 deletions
diff --git a/windows/main.spec b/projects/windows/main.spec
index 9dd1d098..35f6d3ac 100644
--- a/windows/main.spec
+++ b/projects/windows/main.spec
@@ -1,9 +1,6 @@
# -*- mode: python ; coding: utf-8 -*-
-block_cipher = None
-
-
a = Analysis(
['main.py'],
pathex=[],
@@ -14,29 +11,21 @@ a = Analysis(
hooksconfig={},
runtime_hooks=[],
excludes=[],
- win_no_prefer_redirects=False,
- win_private_assemblies=False,
- cipher=block_cipher,
noarchive=False,
)
-pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
+pyz = PYZ(a.pure)
exe = EXE(
pyz,
a.scripts,
- a.binaries,
- Tree('C:/Users/Docker/AppData/Local/Packages/PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0/LocalCache/local-packages/Python311/site-packages/g4f/gui/client', prefix='client'),
- a.zipfiles,
- a.datas,
[],
+ exclude_binaries=True,
name='g4f',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
- upx_exclude=[],
- runtime_tmpdir=None,
- console=False,
+ console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
@@ -44,3 +33,13 @@ exe = EXE(
entitlements_file=None,
icon='icon.ico',
)
+coll = COLLECT(
+ exe,
+ a.binaries,
+ Tree('//host.lan/Data/g4f/gui/client', prefix='client'),
+ a.datas,
+ strip=False,
+ upx=True,
+ upx_exclude=[],
+ name='g4f',
+) \ No newline at end of file