mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-60669 Native Mac restarter crash
This commit is contained in:
@@ -44,7 +44,7 @@ public class MacRestarter {
|
||||
try {
|
||||
final String executablePath = Foundation.toStringViaUTF8(stringURL);
|
||||
final URL url = new URL(executablePath);
|
||||
final String path = url.getPath();
|
||||
final String path = url.getPath().replace("%20", " ");
|
||||
if (path.contains(".app")) {
|
||||
final int appIndex = path.indexOf(".app");
|
||||
final String appPath = path.substring(0, appIndex + 4);
|
||||
|
||||
Reference in New Issue
Block a user