Changeset 766 for java/installer2/src/net/oni2/aeinstaller/backend/oni
- Timestamp:
- Mar 31, 2013, 5:13:35 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/installer2/src/net/oni2/aeinstaller/backend/oni/OniLauncher.java
r757 r766 23 23 break; 24 24 case MACOS: 25 exe = new File(Paths.getEditionBasePath(), 26 "Oni.app/Contents/MacOS/Oni"); 25 exe = new File("./Oni.app/Contents/MacOS/Oni"); 26 if (new File(Paths.getEditionBasePath(), 27 "Oni.app/Contents/MacOS/Oni").exists()) 28 return exe; 27 29 break; 28 30 case LINUX: … … 44 46 } 45 47 } 46 48 47 49 /** 48 50 * @param windowed … … 62 64 if (windowed) 63 65 params.add("-noswitch"); 64 ApplicationInvoker.execute(getOniExeType(), Paths.getEditionBasePath(), exe,65 params);66 ApplicationInvoker.execute(getOniExeType(), Paths.getEditionBasePath(), 67 exe, params); 66 68 } 67 69
Note:
See TracChangeset
for help on using the changeset viewer.