mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 12:38:13 +08:00
Desktop: fix Mac restart dialog to show all changes to preferences requiring restart (#3903)
* Desktop: Fix restart dialog on Mac * Fix * Fix * Fix --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ pub fn start() {
|
||||
|
||||
match exit_reason {
|
||||
app::ExitReason::Restart | app::ExitReason::UiAccelerationFailure => {
|
||||
tracing::error!("Restarting application");
|
||||
tracing::info!("Restarting application");
|
||||
let mut command = std::process::Command::new(std::env::current_exe().unwrap());
|
||||
#[cfg(target_family = "unix")]
|
||||
let _ = std::os::unix::process::CommandExt::exec(&mut command);
|
||||
|
||||
Reference in New Issue
Block a user