From 26a76ee1d3bd88cebdf4f2ffde311a9073151126 Mon Sep 17 00:00:00 2001 From: LunaChocken Date: Sat, 7 Jun 2025 18:42:23 +0100 Subject: [PATCH] update name to fix artifact upload --- .gitea/workflows/pyinstaller.yml | 2 +- main.spec | 38 ++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 main.spec diff --git a/.gitea/workflows/pyinstaller.yml b/.gitea/workflows/pyinstaller.yml index ac8db38..9ebe7a3 100644 --- a/.gitea/workflows/pyinstaller.yml +++ b/.gitea/workflows/pyinstaller.yml @@ -30,4 +30,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: steamPathCLI - path: dist/steamPathCLI.exe \ No newline at end of file + path: dist/main \ No newline at end of file diff --git a/main.spec b/main.spec new file mode 100644 index 0000000..2ba8dd9 --- /dev/null +++ b/main.spec @@ -0,0 +1,38 @@ +# -*- mode: python ; coding: utf-8 -*- + + +a = Analysis( + ['main.py'], + pathex=[], + binaries=[], + datas=[], + hiddenimports=[], + hookspath=[], + hooksconfig={}, + runtime_hooks=[], + excludes=[], + noarchive=False, + optimize=0, +) +pyz = PYZ(a.pure) + +exe = EXE( + pyz, + a.scripts, + a.binaries, + a.datas, + [], + name='main', + 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, +)