mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	FIX: open new BambuStudio at fixed path
Change-Id: I4ebadf9d27c38243a3cb462c6723e61864169d9c
This commit is contained in:
		
							parent
							
								
									04d3917993
								
							
						
					
					
						commit
						605253f61b
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1681,7 +1681,7 @@ void MainFrame::init_menubar_as_editor() | |||
|     { | ||||
| #ifdef __APPLE__ | ||||
|         // New Window
 | ||||
|         append_menu_item(fileMenu, wxID_ANY, _L("New Window") + "\tCtrl+N", _L("Start a new window"), | ||||
|         append_menu_item(fileMenu, wxID_ANY, _L("New Window"), _L("Start a new window"), | ||||
|                          [](wxCommandEvent&) { start_new_slicer(); }, "", nullptr, | ||||
|                          []{ return true; }, this); | ||||
| #endif | ||||
|  |  | |||
|  | @ -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<std::string> args = { "-n", "-a", "BambuStudio"}; | ||||
|             std::vector<std::string> args = { "-n", "-a", "/Applications/BambuStudio.app"}; | ||||
|             if (!paths_to_open.empty()) { | ||||
|                 for (const auto& file : paths_to_open) | ||||
|                     args.emplace_back(into_u8(file)); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 chunmao.guo
						chunmao.guo