Changeset 785 for java/installer2/src


Ignore:
Timestamp:
Apr 3, 2013, 3:05:37 AM (12 years ago)
Author:
alloc
Message:

AEI2.00:

  • Fix launching Oni on MacOS
File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/installer2/src/net/oni2/aeinstaller/backend/oni/OniLauncher.java

    r772 r785  
    2424                                break;
    2525                        case MACOS:
    26                                 exe = new File("./Oni.app/Contents/MacOS/Oni");
     26                                exe = new File(Paths.getEditionBasePath(),
     27                                                "Oni.app/Contents/MacOS/Oni");
    2728                                break;
    2829                        default:
     
    3132                        return exe;
    3233                else
    33                         throw new FileNotFoundException(
    34                                         "Oni's executable was not found");
     34                        throw new FileNotFoundException("Oni's executable was not found");
    3535        }
    3636
Note: See TracChangeset for help on using the changeset viewer.