Skip to content
Snippets Groups Projects
Commit 6d52c35c authored by aburn's avatar aburn
Browse files

Fixed reader startup with custom app name

parent 7676cebf
Branches
No related merge requests found
......@@ -58,9 +58,12 @@ public class ReaderElectronApp extends DocExploreTool
appDir = new File(DocExploreTool.getExecutableDir(), "readerapp");
if (!appDir.exists())
appDir = new File(DocExplore.readerApp());
}
}
else if (SystemUtils.IS_OS_MAC_OSX)
appDir = new File(DocExploreTool.getExecutableDir().getAbsoluteFile().getParentFile(), "MacOS");
String app = SystemUtils.IS_OS_WINDOWS ? appDir.getAbsolutePath()+"/electron.exe" :
SystemUtils.IS_OS_MAC_OSX ? "/Applications/DocExplore.app/Contents/MacOS/Electron" :
SystemUtils.IS_OS_MAC_OSX ? appDir.getAbsolutePath()+"/Electron" :
"electron";
try
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment