diff --git a/.github/workflows/pake-cli.yaml b/.github/workflows/pake-cli.yaml index 3619471..727514f 100644 --- a/.github/workflows/pake-cli.yaml +++ b/.github/workflows/pake-cli.yaml @@ -92,7 +92,7 @@ jobs: - name: Install dependencies (ubuntu only) if: inputs.platform == 'ubuntu-20.04' - uses: awalsh128/cache-apt-pkgs-action@latest + uses: awalsh128/cache-apt-pkgs-action@v1.4.3 with: packages: libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev gnome-video-effects gnome-video-effects-extra version: 1.1 diff --git a/.github/workflows/pake_build_single_app.yaml b/.github/workflows/pake_build_single_app.yaml index d76da69..713604a 100644 --- a/.github/workflows/pake_build_single_app.yaml +++ b/.github/workflows/pake_build_single_app.yaml @@ -73,7 +73,7 @@ jobs: - name: Install dependencies (ubuntu only) if: matrix.os == 'ubuntu-latest' - uses: awalsh128/cache-apt-pkgs-action@latest + uses: awalsh128/cache-apt-pkgs-action@v1.4.3 with: packages: libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev gnome-video-effects gnome-video-effects-extra version: 1.1 diff --git a/.github/workflows/rust-code-quality-check.yml b/.github/workflows/rust-code-quality-check.yml index d20382b..51af2ba 100644 --- a/.github/workflows/rust-code-quality-check.yml +++ b/.github/workflows/rust-code-quality-check.yml @@ -38,14 +38,13 @@ jobs: tool: cargo-hack,nextest - name: Install dependencies for Ubuntu if: matrix.os == 'ubuntu-latest' - uses: awalsh128/cache-apt-pkgs-action@latest + uses: awalsh128/cache-apt-pkgs-action@v1.4.3 with: packages: libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev gnome-video-effects gnome-video-effects-extra version: 1.0 - name: Run unit & integration tests with nextest run: cargo hack --feature-powerset --exclude-features cli-build nextest run --no-tests=pass - cargo-clippy: name: Check codebase quality (cargo clippy) runs-on: ${{ matrix.os }} @@ -64,7 +63,7 @@ jobs: - uses: taiki-e/install-action@cargo-hack - name: Install dependencies for Ubuntu if: matrix.os == 'ubuntu-latest' - uses: awalsh128/cache-apt-pkgs-action@latest + uses: awalsh128/cache-apt-pkgs-action@v1.4.3 with: packages: libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev gnome-video-effects gnome-video-effects-extra version: 1.0 diff --git a/README.md b/README.md index f9c57ae..7343b87 100644 --- a/README.md +++ b/README.md @@ -386,6 +386,13 @@ Pake's development can not be without these Hackers. They contributed a lot of c Fechin + + + GoodbyeNJN +
+ GoodbyeNJN +
+ ImgBotApp @@ -399,15 +406,15 @@ Pake's development can not be without these Hackers. They contributed a lot of c
Jiaqi Gu
- + + Milo123459
Milo
- - + princemaple @@ -449,15 +456,15 @@ Pake's development can not be without these Hackers. They contributed a lot of c
Liusishan
- + + piaoyidage
Ranger
- - + hetz diff --git a/bin/cli.ts b/bin/cli.ts index 4dd8418..dd8a369 100644 --- a/bin/cli.ts +++ b/bin/cli.ts @@ -30,7 +30,7 @@ program .option('--fullscreen', 'Start in full screen', DEFAULT.fullscreen) .option('--hide-title-bar', 'For Mac, hide title bar', DEFAULT.hideTitleBar) .option('--multi-arch', 'For Mac, both Intel and M1', DEFAULT.multiArch) - .option('--inject ', 'Injection of .js or .css files', DEFAULT.inject) + .option('--inject ', 'Injection of .js or .css files', DEFAULT.inject) .option('--debug', 'Debug build and more output', DEFAULT.debug) .addOption(new Option('--proxy-url ', 'Proxy URL for all network requests').default(DEFAULT_PAKE_OPTIONS.proxyUrl).hideHelp()) .addOption(new Option('--user-agent ', 'Custom user agent').default(DEFAULT.userAgent).hideHelp()) diff --git a/src-tauri/src/app/setup.rs b/src-tauri/src/app/setup.rs index 9d3eba5..a66a427 100644 --- a/src-tauri/src/app/setup.rs +++ b/src-tauri/src/app/setup.rs @@ -67,7 +67,9 @@ pub fn set_global_shortcut(app: &AppHandle, shortcut: String) -> tauri::Result<( let last_triggered = Arc::clone(&last_triggered); move |app, event, _shortcut| { let mut last_triggered = last_triggered.lock().unwrap(); - if Instant::now().duration_since(*last_triggered) < Duration::from_millis(300) { + if Instant::now().duration_since(*last_triggered) + < Duration::from_millis(300) + { return; } *last_triggered = Instant::now();