Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
Upgrade Tauri to latest version (#103)
Browse files Browse the repository at this point in the history
* Upgrade Tauri to latest version

* fix applescript

* lock nightly version because ring crate problems

Co-authored-by: Özgün Özerk <[email protected]>
  • Loading branch information
nazar-pc and ozgunozerk authored Mar 24, 2022
1 parent 94c7a17 commit 98465a8
Show file tree
Hide file tree
Showing 13 changed files with 909 additions and 2,400 deletions.
1 change: 0 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
PUBLIC_API_WS="wss://aries-farm-rpc-b.subspace.network"
LOCAL_API_WS="ws://localhost:9944"
CONTEXT_MENU="OFF"
DEFAULT_APP_DIR=".subspace-desktop-farmer"
6 changes: 4 additions & 2 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ jobs:
with:
node-version: 16

# TODO: when https://github.com/rust-lang/rust/issues/95267 and https://github.com/briansmith/ring/issues/1469
# are resolved, revert back to `nightly`
- name: install Rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: nightly-2022-02-15
target: wasm32-unknown-unknown
override: true
components: rustfmt, clippy
Expand Down Expand Up @@ -65,7 +67,7 @@ jobs:
run: yarn install --network-timeout 1000000 && yarn build

- name: tauri run
uses: tauri-apps/tauri-action@v0.2
uses: tauri-apps/tauri-action@v0.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ jobs:
with:
node-version: 16

# TODO: when https://github.com/rust-lang/rust/issues/95267 and https://github.com/briansmith/ring/issues/1469
# are resolved, revert back to `nightly`
- name: install Rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: nightly-2022-02-15
override: true

# Workaround to resolve link error with C:\msys64\mingw64\bin\libclang.dll
Expand Down Expand Up @@ -56,7 +58,7 @@ jobs:
run: yarn install --network-timeout 1000000 && yarn build

- name: tauri run
uses: tauri-apps/tauri-action@v0.2
uses: tauri-apps/tauri-action@v0.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ENABLE_CODE_SIGNING: ${{ secrets.MACOS_CERTIFICATE }}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"dependencies": {
"@polkadot/api": "^7.2.1",
"@quasar/extras": "^1.0.0",
"@tauri-apps/api": "^1.0.0-beta.8",
"@tauri-apps/api": "^1.0.0-rc.2",
"@tsmx/human-readable": "^1.0.6",
"@vueuse/core": "^6.0.0",
"apexcharts": "^3.27.3",
Expand All @@ -33,7 +33,7 @@
},
"devDependencies": {
"@quasar/app": "^3.0.0",
"@tauri-apps/cli": "^1.0.0-beta.10",
"@tauri-apps/cli": "^1.0.0-rc.7",
"@types/": "tsmx/human-readable",
"@types/bcryptjs": "^2.4.2",
"@types/javascript-time-ago": "^2.0.3",
Expand Down
Loading

0 comments on commit 98465a8

Please sign in to comment.