From c7bddf38c8e017db8f61bbf232a0f6e4a9e97d4f Mon Sep 17 00:00:00 2001 From: XyperCode Date: Sat, 12 Oct 2024 14:53:43 +0200 Subject: [PATCH] Pls? --- .github/workflows/build.yml | 14 +++++++++++--- package.json | 2 +- src-tauri/Cargo.toml | 2 +- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 88931b9..e0c44bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,15 @@ jobs: strategy: fail-fast: false matrix: - platform: [macos-latest, ubuntu-20.04, windows-latest] + include: + - platform: 'macos-latest' # for Arm based macs (M1 and above). + args: '--target aarch64-apple-darwin' + - platform: 'macos-latest' # for Intel based macs. + args: '--target x86_64-apple-darwin' + - platform: 'ubuntu-22.04' + args: '' + - platform: 'windows-latest' + args: '' runs-on: ${{ matrix.platform }} steps: @@ -23,10 +31,10 @@ jobs: - name: install Rust stable uses: dtolnay/rust-toolchain@stable - name: install dependencies (ubuntu only) - if: matrix.platform == 'ubuntu-20.04' + if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above. run: | sudo apt-get update - sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf + sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf - name: install frontend dependencies run: npm install # change this to npm or pnpm depending on which one you use - uses: tauri-apps/tauri-action@v0 diff --git a/package.json b/package.json index f446223..b6800ca 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ultreon-appcenter", - "version": "0.1.1", + "version": "0.2.0", "private": true, "type": "module", "scripts": { diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index c2bf518..8aee77c 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ultreon-app-center" -version = "0.1.1" +version = "0.2.0" description = "An app center for apps by Ultreon" authors = ["Ultreon", "XyperCode"] license = ""