Skip to content

Commit

Permalink
Have new macOS package use .dmg rather than .zip files
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelherger committed Sep 10, 2024
1 parent 39141fc commit 5e3e124
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/actions/build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ runs:
- name: Set up macOS environment
if: ${{ startsWith(inputs.build-params, 'macos') }}
if: ${{ inputs.build-params == 'macos' }}
shell: bash
run: |
# set up Platypus - see https://github.com/sveinbjornt/Platypus/issues/270#issuecomment-2312235079
Expand All @@ -76,7 +76,7 @@ runs:
sudo chmod +x /usr/local/bin/platypus
# required by create-dmg if we want to get a customized icon
brew install graphicsmagick imagemagick
brew install -q graphicsmagick imagemagick
- name: Set up Windows environment
Expand Down Expand Up @@ -139,3 +139,9 @@ runs:
done
rm -f $HOME/.aws/credentials
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.build-params }}
path: publish
2 changes: 1 addition & 1 deletion Slim/Utils/OS/OSX.pm
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ sub installerExtension {
if (IS_MENUBAR_ITEM) {
# remove pref pane installer
Slim::Utils::Misc::deleteFiles($updateFolder, qr/^LyrionMusicServer.*\.pkg$/i);
return 'zip';
return 'dmg';
};

# remove menu bar item installer
Expand Down

0 comments on commit 5e3e124

Please sign in to comment.