File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -61,11 +61,19 @@ jobs:
6161 CERT_IDENTITY=$(security find-identity -v -p codesigning | grep "Developer ID Application" | head -1 | sed -n 's/.*"\(.*\)"/\1/p')
6262 echo "Using certificate: $CERT_IDENTITY"
6363
64+ # Create clean input directory with only the JAR file
65+ rm -rf jpackage-input
66+ mkdir -p jpackage-input
67+ cp target/EWItool-${{ steps.version.outputs.version }}.jar jpackage-input/
68+
69+ # Remove any existing app bundle
70+ rm -rf target/EWItool.app
71+
6472 # First create just the app-image (app bundle), not DMG yet
6573 jpackage \
6674 --type app-image \
6775 --name EWItool \
68- --input target \
76+ --input jpackage-input \
6977 --main-jar EWItool-${{ steps.version.outputs.version }}.jar \
7078 --main-class com.github.ledhed2222.ewitool.Main \
7179 --dest target \
You can’t perform that action at this time.
0 commit comments