Skip to content

Commit

Permalink
Fix, app bundle is of course macOS specific.
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhayen committed Mar 18, 2023
1 parent ac85d8b commit c6dcfbd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ runs:
ARGS+=" --include-package-data=$datum"
done
fi
if [ "${{ inputs.macos-create-app-bundle }}" == "true" || "${{ inputs.disable-console }}" == "${{ true }}" ]; then
ARGS+=" --macos-create-app-bundle"
if [ ${{ runner.os }} == 'macOS' ]; then
if [ "${{ inputs.macos-create-app-bundle }}" == "true" || "${{ inputs.disable-console }}" == "${{ true }}" ]; then
ARGS+=" --macos-create-app-bundle"
fi
fi
python -m nuitka $ARGS "${{ inputs.script-name }}"

0 comments on commit c6dcfbd

Please sign in to comment.