Skip to content

Commit 81943b9

Browse files
tauri v2 (#63)
1 parent 8447a6e commit 81943b9

75 files changed

Lines changed: 4859 additions & 3315 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
test:
13-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-24.04
1414
defaults:
1515
run:
1616
working-directory: ./src-tauri
@@ -21,15 +21,15 @@ jobs:
2121
- name: install dependencies
2222
run: |
2323
sudo apt-get update
24-
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
24+
sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev javascriptcoregtk-4.1
2525
- run: cargo test
2626

2727
create-release:
2828
if: startsWith(github.ref, 'refs/tags/')
2929
needs: test
3030
permissions:
3131
contents: write
32-
runs-on: ubuntu-22.04
32+
runs-on: ubuntu-24.04
3333
outputs:
3434
release_id: ${{ steps.create-release.outputs.id }}
3535

@@ -51,7 +51,7 @@ jobs:
5151
strategy:
5252
fail-fast: false
5353
matrix:
54-
platform: [macos-latest, ubuntu-22.04, windows-latest]
54+
platform: [macos-latest, ubuntu-24.04, windows-latest]
5555

5656
runs-on: ${{ matrix.platform }}
5757
steps:
@@ -63,16 +63,16 @@ jobs:
6363
- name: install Rust stable
6464
uses: dtolnay/rust-toolchain@stable
6565
- name: install dependencies (ubuntu only)
66-
if: matrix.platform == 'ubuntu-22.04'
66+
if: matrix.platform == 'ubuntu-24.04'
6767
run: |
6868
sudo apt-get update
69-
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
69+
sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev javascriptcoregtk-4.1
7070
- name: install frontend dependencies
7171
run: yarn install # change this to npm or pnpm depending on which one you use
7272
- uses: tauri-apps/tauri-action@v0
7373
env:
7474
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
75-
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
76-
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_PRIVATE_KEY_PASSWORD }}
75+
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY}}
76+
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
7777
with:
7878
releaseId: ${{ needs.create-release.outputs.release_id }}

clippy.toml

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cubeast-connect",
3-
"version": "0.3.2",
3+
"version": "0.4.0",
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve",
@@ -24,7 +24,11 @@
2424
"@fortawesome/free-regular-svg-icons": "^6.7.2",
2525
"@fortawesome/free-solid-svg-icons": "^6.7.2",
2626
"@ngrx/component": "^19.2.0",
27-
"@tauri-apps/api": "^1.2.0",
27+
"@tauri-apps/api": "^2",
28+
"@tauri-apps/plugin-autostart": "^2.5.0",
29+
"@tauri-apps/plugin-clipboard-manager": "~2",
30+
"@tauri-apps/plugin-opener": "~2",
31+
"@tauri-apps/plugin-updater": "~2",
2832
"rxjs": "~7.8.0",
2933
"tauri-plugin-autostart-api": "https://github.com/tauri-apps/tauri-plugin-autostart",
3034
"tslib": "^2.3.0"
@@ -33,7 +37,7 @@
3337
"@angular/build": "^20.0.3",
3438
"@angular/cli": "~20.0.3",
3539
"@angular/compiler-cli": "^20.0.4",
36-
"@tauri-apps/cli": "^1.2.2",
40+
"@tauri-apps/cli": "^2.7.1",
3741
"@types/jasmine": "~4.3.0",
3842
"jasmine-core": "~4.5.0",
3943
"karma": "~6.4.0",

src-tauri/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
# will have compiled files and executables
33
/target/
44

5+
# Generated by Tauri
6+
# will have schema files for capabilities auto-completion
7+
/gen/schemas

0 commit comments

Comments
 (0)