Skip to content

Commit

Permalink
Merge pull request #65 from philprime/feature/macos-icons
Browse files Browse the repository at this point in the history
#15: Added support for macOS icons
  • Loading branch information
Josh Holtz authored Mar 25, 2021
2 parents c3df0c4 + 1079f5d commit 316369a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ lane :test3 do
)
end

lane :test4 do
appicon(appicon_image_file: 'spec/fixtures/Themoji.png',
appicon_devices: [:macos])
end

lane :splash_screen do
appicon(
appicon_image_file: 'spec/fixtures/splash_screen.png',
Expand Down
4 changes: 4 additions & 0 deletions lib/fastlane/plugin/appicon/actions/appicon_action.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ def self.needed_icons
},
:watch_marketing => {
'1x' => ['1024x1024']
},
:macos => {
'1x' => ['16x16', '32x32', '128x128', '256x256', '512x512'],
'2x' => ['16x16', '32x32', '128x128', '256x256', '512x512'],
}
}
end
Expand Down

0 comments on commit 316369a

Please sign in to comment.