diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ed93fe91..ba79fc4c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: settings: - platform: 'macos-latest' args: '--target universal-apple-darwin' - - platform: 'ubuntu-20.04' + - platform: 'ubuntu-22.04' args: '' - platform: 'windows-latest' args: '--target x86_64-pc-windows-msvc' @@ -32,14 +32,14 @@ jobs: with: targets: aarch64-apple-darwin - name: install dependencies (ubuntu only) - if: matrix.settings.platform == 'ubuntu-20.04' + if: matrix.settings.platform == 'ubuntu-22.04' run: | sudo apt-get update - sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf + sudo apt-get install -y libglib2.0-dev libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf - name: Install pnpm uses: pnpm/action-setup@v2 with: - version: 7.x.x + version: 8.x.x run_install: false - name: Setup node and cache for package data uses: actions/setup-node@v3 @@ -63,7 +63,7 @@ jobs: APPLE_ID: ${{ secrets.APPLE_ID }} APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }} with: - tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version + tagName: v__VERSION__ releaseName: 'App v__VERSION__' releaseBody: 'See the assets to download this version and install.' releaseDraft: true diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index a075319b..bb92ee3d 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -174,8 +174,8 @@ fn main() { .expect("Unsupported platform! 'apply_vibrancy' is only supported on macOS"); #[cfg(target_os = "windows")] - apply_mica(&window, None, None) - .expect("Unsupported platform! 'apply_blur' is only supported on Windows"); + apply_mica(&window, Some(true)) + .expect("Unsupported platform! 'apply_mica' is only supported on Windows"); Ok(()) })