Changeset 18145 in josm for trunk/src/org


Ignore:
Timestamp:
2021-08-20T22:43:06+02:00 (3 years ago)
Author:
Don-vip
Message:

see #17083 - make restart work with jpackage-based applications

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/RestartAction.java

    r17660 r18145  
    157157                    getSystemProperty("java.class.path").contains(APPLE_APP_PATH))) {
    158158                return getAppleCommands();
     159            } else if (getSystemProperty("jpackage.app-path") != null) {
     160                return Arrays.asList(getSystemProperty("jpackage.app-path"));
    159161            } else {
    160162                return getCommands();
Note: See TracChangeset for help on using the changeset viewer.