Changeset 772 for java/installer2/src/net/oni2/aeinstaller/backend/oni
- Timestamp:
- Apr 1, 2013, 2:12:20 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/installer2/src/net/oni2/aeinstaller/backend/oni/OniLauncher.java
r767 r772 22 22 case LINUX: 23 23 exe = new File(Paths.getEditionBasePath(), "Oni.exe"); 24 if (exe.exists()) 25 return exe; 26 else 27 throw new FileNotFoundException( 28 "Oni's executable was not found"); 24 break; 29 25 case MACOS: 30 26 exe = new File("./Oni.app/Contents/MacOS/Oni"); 31 if (new File(Paths.getEditionBasePath(), 32 "Oni.app/Contents/MacOS/Oni").exists()) 33 return exe; 34 else 35 throw new FileNotFoundException( 36 "Oni's executable was not found"); 27 break; 37 28 default: 38 29 } 39 return null; 30 if (exe.exists()) 31 return exe; 32 else 33 throw new FileNotFoundException( 34 "Oni's executable was not found"); 40 35 } 41 36
Note:
See TracChangeset
for help on using the changeset viewer.