Skip to content

Commit

Permalink
chore: revert X11 fix & try build on ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
trobonox committed Dec 9, 2023
1 parent 996c6fe commit f7466da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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
2 changes: 0 additions & 2 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ all(not(debug_assertions), target_os = "windows"),
use tauri_plugin_autostart::MacosLauncher;

fn main() {
std::env::set_var("GDK_BACKEND", "X11"); // Force X11 backend on Linux

tauri::Builder::default()
.plugin(tauri_plugin_store::Builder::default().build())
.plugin(tauri_plugin_persisted_scope::init())
Expand Down

0 comments on commit f7466da

Please sign in to comment.