Просмотр исходного кода

Fixed external text editor not launching on Mac

Ivan Safrin 10 лет назад
Родитель
Сommit
98174f587f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      IDE/Contents/Source/PolycodeToolLauncher.cpp

+ 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