Skip to content

Commit abaa3c4

Browse files
committed
fix: fix release
1 parent 0f5107e commit abaa3c4

3 files changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ jobs:
5454
- platform: "windows-latest"
5555
target: "aarch64-pc-windows-msvc"
5656

57-
- platform: "ubuntu-22.04"
58-
target: "x86_64-unknown-linux-gnu"
59-
6057
runs-on: ${{ matrix.platform }}
6158
steps:
6259
- name: Checkout repository
@@ -83,12 +80,6 @@ jobs:
8380
restore-keys: |
8481
${{ runner.os }}-pnpm-store-
8582
86-
- name: Install dependencies (ubuntu only)
87-
if: matrix.platform == 'ubuntu-22.04'
88-
run: |
89-
sudo apt-get update
90-
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libpipewire-0.3-dev
91-
9283
# 安装 Rust(带 target)
9384
- name: Install Rust stable
9485
uses: dtolnay/rust-toolchain@stable

src-tauri/src/plugins/text_expansion/listener.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@ impl<R: Runtime> TextExpansionListener<R> {
3636

3737
#[cfg(target_os = "macos")]
3838
fn start_macos(&self) {
39+
use std::thread;
40+
3941
let matcher = self.matcher.clone();
4042
let enabled = self.enabled.clone();
41-
let app = self.app.clone();
43+
let app = self._app.clone();
4244

4345
thread::spawn(move || {
4446
// Create event tap for key down events

src-tauri/src/screenshot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ fn capture_screen_native_jpeg(display_id: u32, quality: f64) -> Result<Vec<u8>,
686686
}
687687

688688
fn capture_preview_data_url_by_id(
689-
_monitor_id: u32,
689+
monitor_id: u32,
690690
original: &ScreenshotOriginalFrame,
691691
) -> Result<(String, String), String> {
692692
#[cfg(target_os = "macos")]

0 commit comments

Comments
 (0)