Skip to content

Commit

Permalink
add shortcut prompt for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
celuchmarek committed Feb 5, 2024
1 parent e9f3e95 commit da8d743
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/main/scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ if [[ "${platform}" == "win" ]]; then
"--win-shortcut-prompt"
"--win-menu"
"--add-launcher" "autogram-cli=$resourcesDir/windows-cli-build.properties"
"--win-shortcut-prompt"
)

if [[ -n "${properties_win_upgradeUUID}" ]]; then
Expand All @@ -84,12 +85,6 @@ if [[ "${platform}" == "win" ]]; then
)
fi

if [[ "${properties_win_shortcut}" == "1" ]]; then
arguments+=(
"--win-shortcut"
)
fi

$jpackage "${arguments[@]}"
checkExitCode $?
fi
Expand Down

0 comments on commit da8d743

Please sign in to comment.