From 0c66c7d6f6e7f1a9ef19f47d1496b13f446025c3 Mon Sep 17 00:00:00 2001 From: skimrme Date: Thu, 5 Feb 2026 08:36:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=B9=B6=E5=AE=8C=E6=88=90wi?= =?UTF-8?q?ndwos=E7=8E=AF=E5=A2=83=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 +++- windows/x86_64_intel_windwos.spec | 38 +++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 windows/x86_64_intel_windwos.spec diff --git a/.gitignore b/.gitignore index ddb90ed..85d27ec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ db/** -**/venv/** \ No newline at end of file +**/venv/** +**/dist/** +**/build/** \ No newline at end of file diff --git a/windows/x86_64_intel_windwos.spec b/windows/x86_64_intel_windwos.spec new file mode 100644 index 0000000..fe9528a --- /dev/null +++ b/windows/x86_64_intel_windwos.spec @@ -0,0 +1,38 @@ +# -*- mode: python ; coding: utf-8 -*- + + +a = Analysis( + ['main.py'], + pathex=[], + binaries=[], + datas=[('.\\command', 'command')], + hiddenimports=[], + hookspath=[], + hooksconfig={}, + runtime_hooks=[], + excludes=[], + noarchive=False, + optimize=0, +) +pyz = PYZ(a.pure) + +exe = EXE( + pyz, + a.scripts, + a.binaries, + a.datas, + [], + name='x86_64_intel_windwos', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + upx_exclude=[], + runtime_tmpdir=None, + console=True, + disable_windowed_traceback=False, + argv_emulation=False, + target_arch=None, + codesign_identity=None, + entitlements_file=None, +)