2
0
Эх сурвалжийг харах

Fixed external text editor not launching on Mac

Ivan Safrin 10 жил өмнө
parent
commit
98174f587f

+ 1 - 1
IDE/Contents/Source/PolycodeToolLauncher.cpp

@@ -35,7 +35,7 @@ GenericRunner::GenericRunner(String app, String file, String inFolder) : Threade
 void GenericRunner::runThread() {
 #if defined(__APPLE__) && defined(__MACH__)
 	CocoaCore *cocoaCore = (CocoaCore*) CoreServices::getInstance()->getCore();
-	cocoaCore->openFileWithApplication(file, app);
+	cocoaCore->openFileWithApplication(file.replace("\"", ""), app.replace("\"", ""));
 #else
 	String ret = CoreServices::getInstance()->getCore()->executeExternalCommand(app, file, inFolder);	
 #endif