diff --git a/.github/workflows/darwin-arm64.yml b/.github/workflows/darwin-arm64.yml new file mode 100644 index 0000000..6aa1be4 --- /dev/null +++ b/.github/workflows/darwin-arm64.yml @@ -0,0 +1,29 @@ +name: CI + +on: + push: + pull_request: + +jobs: + build-win32: + name: "Windows Build" + runs-on: macos-14 + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Install PIP Modules + run: python -m pip install -r requirements.txt + + - name: Build Project + run: pyinstaller --onefile .\main.py --add-data "assets/eventTags/*;assets/eventTags/" --add-data "assets/icons/*;assets/icons/" --add-data "assets/items/*;assets/items/" --add-data "assets/logos/*;assets/logos/" --add-data "assets/operation/*;assets/operation/" --add-data "dependencies/win32/*;dependencies/win32/" --add-data "dependencies/bin/*;dependencies/win32/bin/" --name="Mario Party Toolkit" -w --icon="assets/icons/diceBlock.ico" + + - name: Purge Files + run: cd "/Users/runner/work/Mario-Party-Toolkit/Mario-Party-Toolkit/dist/" && rm "Mario Party Toolkit" + + - name: Upload Artifact + uses: actions/upload-artifact@v2 + with: + name: MarioPartyToolkit-win32 + path: /Users/runner/work/Mario-Party-Toolkit/Mario-Party-Toolkit/dist + diff --git a/.github/workflows/ci.yml b/.github/workflows/win32.yml similarity index 100% rename from .github/workflows/ci.yml rename to .github/workflows/win32.yml diff --git a/dependencies/darwin_arm64/GSInject b/dependencies/darwin_arm64/GSInject new file mode 100755 index 0000000..a490159 Binary files /dev/null and b/dependencies/darwin_arm64/GSInject differ diff --git a/dependencies/darwin/GeckoLoader b/dependencies/darwin_arm64/GeckoLoader similarity index 100% rename from dependencies/darwin/GeckoLoader rename to dependencies/darwin_arm64/GeckoLoader diff --git a/dependencies/darwin_arm64/MIPS-CodeWrite b/dependencies/darwin_arm64/MIPS-CodeWrite new file mode 100755 index 0000000..cf7c78a Binary files /dev/null and b/dependencies/darwin_arm64/MIPS-CodeWrite differ diff --git a/dependencies/darwin/pyisotools b/dependencies/darwin_arm64/pyisotools similarity index 100% rename from dependencies/darwin/pyisotools rename to dependencies/darwin_arm64/pyisotools diff --git a/dependencies/darwin/wit b/dependencies/darwin_arm64/wit similarity index 100% rename from dependencies/darwin/wit rename to dependencies/darwin_arm64/wit