Changeset 18476 in josm for trunk/native


Ignore:
Timestamp:
2022-06-08T19:24:17+02:00 (3 years ago)
Author:
taylor.smock
Message:

Fix #21727: Make MacOS local builds possible without signature (patch by Stereo)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/native/macosx/macos-jpackage.sh

    r18304 r18476  
    3030    echo "A JOSM.app will be created but not signed nor notarized."
    3131    SIGNAPP=false
     32    KEYCHAINPATH=false
     33    JPACKAGEOPTIONS=""
    3234else
    3335    echo "Preparing certificates/keychain for signing…"
     
    4749    SIGNAPP=true
    4850    echo "Signing preparation done."
     51    JPACKAGEOPTIONS="--mac-sign --mac-signing-keychain $KEYCHAINPATH"
    4952fi
    5053
    5154set -u
    52 
    53 if $SIGNAPP; then
    54   JPACKAGEOPTIONS="--mac-sign --mac-signing-keychain $KEYCHAINPATH"
    55 else
    56   JPACKAGEOPTIONS=""
    57 fi
    5855
    5956echo "Building and signing app"
     
    7673    --copyright "JOSM, and all its integral parts, are released under the GNU General Public License v2 or later" \
    7774    --vendor "JOSM" \
    78     --mac-sign \
    7975    --mac-package-identifier de.openstreetmap.josm \
    8076    --mac-package-signing-prefix de.openstreetmap.josm \
    81     --mac-signing-keychain $KEYCHAINPATH \
    8277    --file-associations native/file-associations/bz2.properties \
    8378    --file-associations native/file-associations/geojson.properties \
Note: See TracChangeset for help on using the changeset viewer.