Skip to content

Commit

Permalink
Merge pull request #463 from trobonox/main
Browse files Browse the repository at this point in the history
Try fixing linux appimage
  • Loading branch information
trobonox authored Dec 9, 2023
2 parents f8671ef + f7466da commit fc30a63
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
platform:
- os: ubuntu-20.04
- os: ubuntu-22.04
rust_target: x86_64-unknown-linux-gnu
- os: macos-latest
rust_target: x86_64-apple-darwin
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
- uses: Swatinem/rust-cache@v2

- name: install dependencies (ubuntu x86_64)
if: matrix.platform.os == 'ubuntu-20.04'
if: matrix.platform.os == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
Expand Down
18 changes: 9 additions & 9 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ all(not(debug_assertions), target_os = "windows"),
use tauri_plugin_autostart::MacosLauncher;

fn main() {
tauri::Builder::default()
.plugin(tauri_plugin_store::Builder::default().build())
.plugin(tauri_plugin_persisted_scope::init())
.plugin(tauri_plugin_autostart::init(
MacosLauncher::LaunchAgent,
None,
))
.run(tauri::generate_context!())
.expect("error while running tauri application");
tauri::Builder::default()
.plugin(tauri_plugin_store::Builder::default().build())
.plugin(tauri_plugin_persisted_scope::init())
.plugin(tauri_plugin_autostart::init(
MacosLauncher::LaunchAgent,
None,
))
.run(tauri::generate_context!())
.expect("error while running tauri application");
}

0 comments on commit fc30a63

Please sign in to comment.