Compare commits

...

3 Commits

Author SHA1 Message Date
zhom 8980056e44 chore: enable release workflow 2025-05-30 03:39:30 +04:00
zhom 885c6a1446 chore: fix clippy on windows build 2025-05-30 01:45:05 +04:00
zhom a67803dbc8 chore: fix clippy error for linux and windows builds 2025-05-30 01:32:48 +04:00
5 changed files with 10 additions and 22 deletions
+2
View File
@@ -6,6 +6,8 @@ on:
push:
branches:
- main
tags:
- "v*"
pull_request:
paths-ignore:
- "src-tauri/**"
+2
View File
@@ -6,6 +6,8 @@ on:
push:
branches:
- main
tags:
- "v*"
pull_request:
paths-ignore:
- "src/**"
-21
View File
@@ -10,28 +10,7 @@ env:
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
jobs:
# Wait for linting jobs to complete first
wait-for-linting:
runs-on: ubuntu-latest
steps:
- name: Wait for Rust linting to complete
uses: lewagon/wait-on-check-action@v1.3.4
with:
ref: ${{ github.ref }}
check-name: "Lint Rust"
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
- name: Wait for JavaScript linting to complete
uses: lewagon/wait-on-check-action@v1.3.4
with:
ref: ${{ github.ref }}
check-name: "Lint Node.js"
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
release:
needs: wait-for-linting
permissions:
contents: write
strategy:
+3 -1
View File
@@ -33,9 +33,11 @@ lazy_static = "1.4"
base64 = "0.22"
zip = "4"
async-trait = "0.1"
core-foundation="0.10"
futures-util = "0.3"
[target.'cfg(target_os = "macos")'.dependencies]
core-foundation="0.10"
[dev-dependencies]
tempfile = "3.13.0"
tokio-test = "0.4.4"
+3
View File
@@ -83,6 +83,8 @@ impl BrowserRunner {
}
// Helper function to validate PID for TOR/Mullvad browsers
// TODO: make available for other platforms once other functionality is implemented
#[cfg(target_os = "macos")]
fn validate_tor_mullvad_pid(&self, profile: &BrowserProfile, pid: u32) -> bool {
let system = System::new_all();
@@ -134,6 +136,7 @@ impl BrowserRunner {
false
}
}
pub fn get_binaries_dir(&self) -> PathBuf {
let mut path = self.base_dirs.data_local_dir().to_path_buf();
path.push(if cfg!(debug_assertions) {