Skip to content

Commit 5eef2bf

Browse files
committed
Fix Tauri builds (#119)
* fix: attempt to use local user keychain * chore: tmp disable non-macos builds * fix: windows process fix patch * fix: re-enable windows * fix: remove sudo * fix: tmp disable windows again * fix: windows build again * chore: re-disable windows * fix: pin to macos 14 * fix: re-enable other builds
1 parent ec6294b commit 5eef2bf

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ jobs:
6969
security set-keychain-settings -t 3600 -u build.keychain
7070
7171
curl https://droposs.org/drop.crt --output drop.pem
72-
sudo security authorizationdb write com.apple.trust-settings.admin allow
73-
sudo security add-trusted-cert -d -r trustRoot -k build.keychain -p codeSign -u -1 drop.pem
74-
sudo security authorizationdb remove com.apple.trust-settings.admin
72+
sudo security authorizationdb write com.apple.trust-settings.user allow
73+
security add-trusted-cert -r trustRoot -k build.keychain -p codeSign -u -1 drop.pem
74+
sudo security authorizationdb remove com.apple.trust-settings.user
7575
7676
security import certificate.p12 -k build.keychain -P "$APPLE_CERTIFICATE_PASSWORD" -T /usr/bin/codesign
7777
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$KEYCHAIN_PASSWORD" build.keychain

src-tauri/src/process/process_manager.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,10 @@ impl ProcessManager<'_> {
347347

348348
#[cfg(target_os = "windows")]
349349
use std::os::windows::process::CommandExt;
350-
351350
#[cfg(target_os = "windows")]
352-
let mut command = Command::new("start");
351+
let mut command = Command::new("cmd");
353352
#[cfg(target_os = "windows")]
354-
command.raw_arg(format!("/min cmd /C \"{}\"", &launch_string));
353+
command.raw_arg(format!("/C \"{}\"", &launch_string));
355354

356355
info!("launching (in {install_dir}): {launch_string}",);
357356

0 commit comments

Comments
 (0)