From 599823fd4dfa269b4ca5f6cad60c56c1115e7698 Mon Sep 17 00:00:00 2001 From: Mateusz Gruszkiewicz Date: Sun, 12 Apr 2026 09:57:32 +0200 Subject: [PATCH 1/7] test artifact attestation --- .github/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d31fb24..9c9f726 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,13 @@ name: Run tests and build application +permissions: + id-token: write + contents: read + attestations: write + on: push: - branches: [main] + branches: [main, "ci/artifact-attestation"] pull_request: branches: [main] @@ -29,3 +34,8 @@ jobs: with: name: palium.app path: build/DerivedData/Build/Products/Release/palium.app + + - name: Generate artifact attestation + uses: actions/attest@v4 + with: + subject-path: 'build/DerivedData/Build/Products/Release/palium.app' From 52484f1fccf171a845c4597d1b1e3b2aaf531d28 Mon Sep 17 00:00:00 2001 From: Mateusz Gruszkiewicz Date: Sun, 12 Apr 2026 10:30:21 +0200 Subject: [PATCH 2/7] ci: fix packaging of build program, zip it ourself --- .github/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c9f726..0cdd661 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,13 +29,16 @@ jobs: - name: Build (unsigned) run: make build-unsigned + - name: Package application bundle + run: ditto -c -k --keepParent build/DerivedData/Build/Products/Release/palium.app palium.app.zip + - name: Upload build artifact uses: actions/upload-artifact@v4 with: - name: palium.app - path: build/DerivedData/Build/Products/Release/palium.app + name: palium + path: palium.app.zip - name: Generate artifact attestation uses: actions/attest@v4 with: - subject-path: 'build/DerivedData/Build/Products/Release/palium.app' + subject-path: palium.app.zip From 208d5c710964ee9a69793732d91a57e8c1bed7dc Mon Sep 17 00:00:00 2001 From: Mateusz Gruszkiewicz Date: Sun, 12 Apr 2026 10:56:04 +0200 Subject: [PATCH 3/7] ci: test package with dmg --- .github/workflows/ci.yml | 10 +++++----- .gitignore | 2 ++ Makefile | 7 +++++-- palium.xcodeproj/project.pbxproj | 4 ++-- .../xcshareddata/xcschemes/palium.xcscheme | 6 +++--- 5 files changed, 17 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0cdd661..f6322ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,16 +29,16 @@ jobs: - name: Build (unsigned) run: make build-unsigned - - name: Package application bundle - run: ditto -c -k --keepParent build/DerivedData/Build/Products/Release/palium.app palium.app.zip + - name: Create DMG + run: npm install --global create-dmg@8.1.0 && make create-dmg - name: Upload build artifact uses: actions/upload-artifact@v4 with: - name: palium - path: palium.app.zip + name: Palium.dmg + path: Palium.dmg - name: Generate artifact attestation uses: actions/attest@v4 with: - subject-path: palium.app.zip + subject-path: palium.dmg diff --git a/.gitignore b/.gitignore index 2dae046..f3d48dd 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,5 @@ Carthage/ # Other *.swp *.lock + +*.dmg diff --git a/Makefile b/Makefile index cf17ea2..c8bc92c 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ SCHEME := palium CONFIG := Release BUILD_DIR := ./build ARCHIVE := $(BUILD_DIR)/palium.xcarchive -APP := $(ARCHIVE)/Products/Applications/palium.app +APP := $(ARCHIVE)/Products/Applications/Palium.app ZIP := $(BUILD_DIR)/palium.zip .PHONY: archive zip clean test build-unsigned @@ -16,7 +16,7 @@ archive: archive zip: archive - cd $(ARCHIVE)/Products/Applications && zip -r -y $(CURDIR)/$(ZIP) palium.app + cd $(ARCHIVE)/Products/Applications && zip -r -y $(CURDIR)/$(ZIP) Palium.app @echo "\nReady for release: $(ZIP)" build-unsigned: @@ -42,6 +42,9 @@ test-all: CODE_SIGN_IDENTITY=- \ test +dmg: + create-dmg $(BUILD_DIR)/DerivedData/Build/Products/Release/Palium.app --dmg-title=Palium --no-version-in-filename $(if $(CI),--no-code-sign) + clean: rm -rf $(BUILD_DIR) xcodebuild -project $(PROJECT) -scheme $(SCHEME) clean diff --git a/palium.xcodeproj/project.pbxproj b/palium.xcodeproj/project.pbxproj index aa8c73f..3745e1f 100644 --- a/palium.xcodeproj/project.pbxproj +++ b/palium.xcodeproj/project.pbxproj @@ -411,7 +411,7 @@ ); MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = bubacompany.palium; - PRODUCT_NAME = "$(TARGET_NAME)"; + PRODUCT_NAME = Palium; REGISTER_APP_GROUPS = YES; STRING_CATALOG_GENERATE_SYMBOLS = YES; SWIFT_APPROACHABLE_CONCURRENCY = YES; @@ -444,7 +444,7 @@ ); MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = bubacompany.palium; - PRODUCT_NAME = "$(TARGET_NAME)"; + PRODUCT_NAME = Palium; REGISTER_APP_GROUPS = YES; STRING_CATALOG_GENERATE_SYMBOLS = YES; SWIFT_APPROACHABLE_CONCURRENCY = YES; diff --git a/palium.xcodeproj/xcshareddata/xcschemes/palium.xcscheme b/palium.xcodeproj/xcshareddata/xcschemes/palium.xcscheme index 62090ac..3d0b027 100644 --- a/palium.xcodeproj/xcshareddata/xcschemes/palium.xcscheme +++ b/palium.xcodeproj/xcshareddata/xcschemes/palium.xcscheme @@ -16,7 +16,7 @@ @@ -69,7 +69,7 @@ @@ -86,7 +86,7 @@ From d148613b440d37009a9efb8a147602bdb11dbe9d Mon Sep 17 00:00:00 2001 From: Mateusz Gruszkiewicz Date: Sun, 12 Apr 2026 11:06:59 +0200 Subject: [PATCH 4/7] ci: fix product name for tests --- palium.xcodeproj/project.pbxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/palium.xcodeproj/project.pbxproj b/palium.xcodeproj/project.pbxproj index 3745e1f..578c1b5 100644 --- a/palium.xcodeproj/project.pbxproj +++ b/palium.xcodeproj/project.pbxproj @@ -472,7 +472,7 @@ SWIFT_EMIT_LOC_STRINGS = NO; SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/palium.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/palium"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Palium.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Palium"; }; name = Debug; }; @@ -493,7 +493,7 @@ SWIFT_EMIT_LOC_STRINGS = NO; SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/palium.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/palium"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Palium.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Palium"; }; name = Release; }; From f28e657147bb6f368079bc0d88f874a588e1955e Mon Sep 17 00:00:00 2001 From: Mateusz Gruszkiewicz Date: Sun, 12 Apr 2026 11:19:07 +0200 Subject: [PATCH 5/7] revert back name changes --- Makefile | 6 +++--- palium.xcodeproj/project.pbxproj | 8 ++++---- palium.xcodeproj/xcshareddata/xcschemes/palium.xcscheme | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index c8bc92c..4d3e9df 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ SCHEME := palium CONFIG := Release BUILD_DIR := ./build ARCHIVE := $(BUILD_DIR)/palium.xcarchive -APP := $(ARCHIVE)/Products/Applications/Palium.app +APP := $(ARCHIVE)/Products/Applications/palium.app ZIP := $(BUILD_DIR)/palium.zip .PHONY: archive zip clean test build-unsigned @@ -16,7 +16,7 @@ archive: archive zip: archive - cd $(ARCHIVE)/Products/Applications && zip -r -y $(CURDIR)/$(ZIP) Palium.app + cd $(ARCHIVE)/Products/Applications && zip -r -y $(CURDIR)/$(ZIP) palium.app @echo "\nReady for release: $(ZIP)" build-unsigned: @@ -43,7 +43,7 @@ test-all: test dmg: - create-dmg $(BUILD_DIR)/DerivedData/Build/Products/Release/Palium.app --dmg-title=Palium --no-version-in-filename $(if $(CI),--no-code-sign) + create-dmg $(BUILD_DIR)/DerivedData/Build/Products/Release/palium.app --dmg-title=Palium --no-version-in-filename $(if $(CI),--no-code-sign) clean: rm -rf $(BUILD_DIR) diff --git a/palium.xcodeproj/project.pbxproj b/palium.xcodeproj/project.pbxproj index 578c1b5..aa8c73f 100644 --- a/palium.xcodeproj/project.pbxproj +++ b/palium.xcodeproj/project.pbxproj @@ -411,7 +411,7 @@ ); MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = bubacompany.palium; - PRODUCT_NAME = Palium; + PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES; STRING_CATALOG_GENERATE_SYMBOLS = YES; SWIFT_APPROACHABLE_CONCURRENCY = YES; @@ -444,7 +444,7 @@ ); MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = bubacompany.palium; - PRODUCT_NAME = Palium; + PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES; STRING_CATALOG_GENERATE_SYMBOLS = YES; SWIFT_APPROACHABLE_CONCURRENCY = YES; @@ -472,7 +472,7 @@ SWIFT_EMIT_LOC_STRINGS = NO; SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Palium.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Palium"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/palium.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/palium"; }; name = Debug; }; @@ -493,7 +493,7 @@ SWIFT_EMIT_LOC_STRINGS = NO; SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Palium.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Palium"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/palium.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/palium"; }; name = Release; }; diff --git a/palium.xcodeproj/xcshareddata/xcschemes/palium.xcscheme b/palium.xcodeproj/xcshareddata/xcschemes/palium.xcscheme index 3d0b027..62090ac 100644 --- a/palium.xcodeproj/xcshareddata/xcschemes/palium.xcscheme +++ b/palium.xcodeproj/xcshareddata/xcschemes/palium.xcscheme @@ -16,7 +16,7 @@ @@ -69,7 +69,7 @@ @@ -86,7 +86,7 @@ From e1ca3e6f812b20ab1a20e2d23c50bf51bb790aa6 Mon Sep 17 00:00:00 2001 From: Mateusz Gruszkiewicz Date: Sun, 12 Apr 2026 12:45:34 +0200 Subject: [PATCH 6/7] ci: oops, wrong make command --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6322ec..36b4deb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: run: make build-unsigned - name: Create DMG - run: npm install --global create-dmg@8.1.0 && make create-dmg + run: npm install --global create-dmg@8.1.0 && make dmg - name: Upload build artifact uses: actions/upload-artifact@v4 From 552dc1a2efebcda666d008c90e281a90871d23b0 Mon Sep 17 00:00:00 2001 From: Mateusz Gruszkiewicz Date: Sun, 12 Apr 2026 17:37:09 +0200 Subject: [PATCH 7/7] update readme with screenshot --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index daa7243..45a6f2f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Palium +![Screenshot showing Palia game running on a MacOS, with Palium launcher on top of it and with METAL HUD enabled](https://i.issei.space/x8IaBwFH.jpg) + A native macOS launcher for [Palia](https://palia.com), built with Swift and SwiftUI. Palium downloads, updates, and launches the Windows version of Palia on macOS using Wine and Apple's Game Porting Toolkit (GPTK). ## Features @@ -11,15 +13,16 @@ A native macOS launcher for [Palia](https://palia.com), built with Swift and Swi - **Real-time progress** — download speed graph, per-file progress, and a debug log panel - **Settings window** — Wine source picker, graphics/performance toggles, open Wine prefix in Finder +## How to setup? +1. Download the latest release from [Release page](https://github.com/mgruszkiewicz/palium/releases). +2. Make sure that you have Game Porting Toolkit installed in Application directory. If not, please download the latest release (.tar.xz file) from [Gcenx/game-porting-toolkit releases](https://github.com/Gcenx/game-porting-toolkit/releases) and extract the application to Application directory. +3. Launch the Palium launcher. Wait for initial setup to finish, the launcher will check for updates. Click on "Download Palia", and wait for game to install. + ## Requirements - macOS 14+ (Sonoma) on Apple Silicon - **Game Porting Toolkit** (recommended): download from [Gcenx/game-porting-toolkit releases](https://github.com/Gcenx/game-porting-toolkit/releases) and place in `/Applications/` -## How to setup? -1. Download the latest release from [Release page](https://github.com/mgruszkiewicz/palium/releases) -2. Make sure that you have Game Porting Toolkit installed in Application directory. If not, please download the .tar.xz file from [Gcenx/game-porting-toolkit releases](https://github.com/Gcenx/game-porting-toolkit/releases) and extract the application to Application directory. -3. Launch the Palium launcher. Wait for initial setup to finish, the launcher will check for updates. Click on "Download Palia", and wait for game to install. ## Troubleshooting If you have problem with game launch, you can open a Settings page (the gear icon in right top corner, or press `⌘+,`) -> Troubleshooting tab -> Run Diagnostics to validate that the environment was setup correctly.