Changeset 18164 in josm
- Timestamp:
- 2021-08-22T23:02:10+02:00 (3 years ago)
- Location:
- trunk/native/windows
- Files:
-
- 4 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/native/windows/win-jpackage.sh
r18163 r18164 33 33 set -u 34 34 35 # jpackage copies resources files to temp dir but not all of them, only an hardcoded set 36 # see https://github.com/openjdk/jdk/blob/739769c8fc4b496f08a92225a12d07414537b6c0/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinMsiBundler.java#L437 37 # so we replace a placeholder to get an absolute path when wix reads this file 38 #sed -i "s|%josm-source-dir%|$(pwd)|g" native/windows/main.wxs 39 cp native/windows/main.wxs native/windows/main.wxs.bak 40 sed -i 's?%josm-source-dir%?'`pwd`'?' native/windows/main.wxs 41 sed -i 's?"/c/?"c:/?g' native/windows/main.wxs 42 35 43 JPACKAGEOPTIONS="" 36 44 … … 55 63 --copyright "JOSM, and all its integral parts, are released under the GNU General Public License v2 or later" \ 56 64 --vendor "JOSM" \ 65 --resource-dir native/windows \ 57 66 --win-upgrade-uuid 79be9cf4-6dc7-41e2-a6cd-bbfaa4c07481 \ 58 67 --win-per-user-install \ … … 71 80 --add-modules java.base,java.datatransfer,java.desktop,java.logging,java.management,java.naming,java.net.http,java.prefs,java.rmi,java.scripting,java.sql,java.transaction.xa,java.xml,jdk.crypto.ec,jdk.jfr,jdk.jsobject,jdk.unsupported,jdk.unsupported.desktop,jdk.xml.dom,javafx.controls,javafx.media,javafx.swing,javafx.web 72 81 done 82 83 mv native/windows/main.wxs.bak native/windows/main.wxs 73 84 74 85 mv app/JOSM-1.5.$1.exe app/JOSM.exe
Note:
See TracChangeset
for help on using the changeset viewer.