Changeset 18164 in josm


Ignore:
Timestamp:
2021-08-22T23:02:10+02:00 (3 years ago)
Author:
Don-vip
Message:

see #17083 - override WixUI default bitmaps with JOSM logo

Location:
trunk/native/windows
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/native/windows/win-jpackage.sh

    r18163 r18164  
    3333set -u
    3434
     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
     39cp native/windows/main.wxs native/windows/main.wxs.bak
     40sed -i 's?%josm-source-dir%?'`pwd`'?' native/windows/main.wxs
     41sed -i 's?"/c/?"c:/?g' native/windows/main.wxs
     42
    3543JPACKAGEOPTIONS=""
    3644
     
    5563    --copyright "JOSM, and all its integral parts, are released under the GNU General Public License v2 or later" \
    5664    --vendor "JOSM" \
     65    --resource-dir native/windows \
    5766    --win-upgrade-uuid 79be9cf4-6dc7-41e2-a6cd-bbfaa4c07481 \
    5867    --win-per-user-install \
     
    7180    --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
    7281done
     82
     83mv native/windows/main.wxs.bak native/windows/main.wxs
    7384
    7485mv app/JOSM-1.5.$1.exe app/JOSM.exe
Note: See TracChangeset for help on using the changeset viewer.