From 18b5ba9c43636cb9bf01c6d301d7a2f180158e0c Mon Sep 17 00:00:00 2001 From: miu <205594122@qq.com> Date: Sun, 15 Mar 2026 02:55:44 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.github/workflows/buil?= =?UTF-8?q?d-exe.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-exe.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/build-exe.yml b/.github/workflows/build-exe.yml index 8f579b9..a8e316e 100644 --- a/.github/workflows/build-exe.yml +++ b/.github/workflows/build-exe.yml @@ -30,17 +30,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: exe - path: dist/Shortcut_Sync_PotPlayer.exe - - - name: Build with PyInstaller - run: | - # --clean 确保清理旧缓存 - # --admin-access 如果你的程序需要监听全局钩子,有时需要此权限 - python -m PyInstaller --noconfirm --onefile --windowed --name "Shortcut_Sync_PotPlayer" main.py - - - name: Upload Artifact - uses: actions/upload-artifact@v4 - with: - name: PotPlayer-Sync-Tool - path: dist/Shortcut_Sync_PotPlayer.exe - retention-days: 7 # 临时文件保存7天 \ No newline at end of file + path: dist/Shortcut_Sync_PotPlayer.exe \ No newline at end of file From cf93a1ce5934ed2c6d97c2a616f901d8381995a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=9B=9B=E6=9C=88?= Date: Sun, 15 Mar 2026 03:05:46 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=88=A0=E9=99=A4=20.github/workflows/buil?= =?UTF-8?q?d-exe.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-exe.yml | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 .github/workflows/build-exe.yml diff --git a/.github/workflows/build-exe.yml b/.github/workflows/build-exe.yml deleted file mode 100644 index a8e316e..0000000 --- a/.github/workflows/build-exe.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Build Windows EXE - -on: - push: - branches: ["main"] - workflow_dispatch: - -jobs: - build: - runs-on: windows-latest - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup Python - uses: actions/setup-python@v5 - with: - python-version: "3.9" - - - name: Install deps - run: | - pip install pyinstaller keyboard pywin32 - - - name: Build EXE - run: | - pyinstaller --onefile --windowed --name Shortcut_Sync_PotPlayer main.py - - - name: Upload - uses: actions/upload-artifact@v4 - with: - name: exe - path: dist/Shortcut_Sync_PotPlayer.exe \ No newline at end of file