Skip to content

Commit a35ae9c

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 a35ae9c

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
7171
curl https://droposs.org/drop.crt --output drop.pem
7272
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
73+
security add-trusted-cert -r trustRoot -k build.keychain -p codeSign -u -1 drop.pem
7474
sudo security authorizationdb remove com.apple.trust-settings.admin
7575
7676
security import certificate.p12 -k build.keychain -P "$APPLE_CERTIFICATE_PASSWORD" -T /usr/bin/codesign

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)