From 41a629e159c82d05c9fb49884d9e9fd8b73a3bcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C=E8=A7=82=E5=AF=9F=E6=97=A5=E5=BF=97?= Date: Sat, 4 May 2024 20:14:20 +0800 Subject: [PATCH 1/4] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7657c13..e8fa353 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,7 +1,7 @@ on: push: branches: - - main + - master jobs: build_winodws: From 82e9960bcf184c88669a4e7b7fc3eb8d7aa7f8e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C=E8=A7=82=E5=AF=9F=E6=97=A5=E5=BF=97?= Date: Sat, 4 May 2024 20:57:54 +0800 Subject: [PATCH 2/4] Update main.yml --- .github/workflows/main.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e8fa353..98145ed 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,8 +20,15 @@ jobs: poetry install poetry run python -m pip install nuitka - name: Build - run: | - poetry run python -m nuitka main.py --standalone --follow-imports --include-data-dir=assets=assets --include-data-files=config.toml=config.toml --include-data-files=agent.js=agent.js + - uses: Nuitka/Nuitka-Action@main + with: + nuitka-version: main + script-name: main.py + standalone: true + include-data-dir: assets=assets + include-data-files: | + agent.js=agent.js + config.toml=config.toml - name: Generate ZIP run: | ren main.dist AppleMusicDecrypt From bd9185796475693a4e73a786a022ab53c2a667c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C=E8=A7=82=E5=AF=9F=E6=97=A5=E5=BF=97?= Date: Sat, 4 May 2024 20:59:20 +0800 Subject: [PATCH 3/4] Update main.yml --- .github/workflows/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 98145ed..b9fb158 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,6 @@ jobs: python -m pip install poetry poetry install poetry run python -m pip install nuitka - - name: Build - uses: Nuitka/Nuitka-Action@main with: nuitka-version: main From e0718e398cc1619d57d550486e58437e3aaccdc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C=E8=A7=82=E5=AF=9F=E6=97=A5=E5=BF=97?= Date: Sat, 4 May 2024 21:08:38 +0800 Subject: [PATCH 4/4] Update main.yml --- .github/workflows/main.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b9fb158..a95cbc4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,15 +19,9 @@ jobs: python -m pip install poetry poetry install poetry run python -m pip install nuitka - - uses: Nuitka/Nuitka-Action@main - with: - nuitka-version: main - script-name: main.py - standalone: true - include-data-dir: assets=assets - include-data-files: | - agent.js=agent.js - config.toml=config.toml + - name: Build + run: | + poetry run python -m nuitka main.py --assume-yes-for-downloads --standalone --follow-imports --include-data-dir=assets=assets --include-data-files=config.toml=config.toml --include-data-files=agent.js=agent.js - name: Generate ZIP run: | ren main.dist AppleMusicDecrypt