From ee0f3c7a2f5cc2fa9784a5ed546a1eb59cbe91d0 Mon Sep 17 00:00:00 2001 From: "chunmao.guo" Date: Sun, 29 Jan 2023 09:54:17 +0800 Subject: [PATCH] FIX: [STUDIO-2099] fix start new instance with renamed app Change-Id: Ic4ee24c3980f02d436ebf32c2b5c63cb34f3803e (cherry picked from commit e4c2ff2a442253832b44bcd5e9e0ac40980cfcee) --- src/slic3r/Utils/Process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/Utils/Process.cpp b/src/slic3r/Utils/Process.cpp index 2112d101b0..0a037e86c0 100644 --- a/src/slic3r/Utils/Process.cpp +++ b/src/slic3r/Utils/Process.cpp @@ -65,7 +65,7 @@ static void start_new_slicer_or_gcodeviewer(const NewSlicerInstanceType instance // On Apple the wxExecute fails, thus we use boost::process instead. BOOST_LOG_TRIVIAL(info) << "Trying to spawn a new slicer \"" << bin_path.string() << "\""; try { - std::vector args = { "-n", "-a", "/Applications/BambuStudio.app"}; + std::vector args = { "-n", "-a", "BambuStudio.app"}; if (!paths_to_open.empty()) { for (const auto& file : paths_to_open) args.emplace_back(into_u8(file));