new versions of fyne package automatically scale icon for MacOS
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
icon_path = ./res/appicon-512.png
|
||||
icon_path_mac = ./res/appicon-macos.png
|
||||
app_name = Supersonic
|
||||
app_version = 0.5.2
|
||||
|
||||
@@ -10,7 +9,7 @@ build:
|
||||
# so the last 3 cmds move it over manually. This is a bit fragile though
|
||||
# since it assumes a specific location and version of the dependency
|
||||
package_macos:
|
||||
fyne package -os darwin -name $(app_name) -appVersion $(app_version) -icon $(icon_path_mac)
|
||||
fyne package -os darwin -name $(app_name) -appVersion $(app_version) -icon $(icon_path)
|
||||
|
||||
bundledeps_macos:
|
||||
dylibbundler -od -b -x ./Supersonic.app/Contents/MacOS/supersonic -d ./Supersonic.app/Contents/Frameworks/ -p @executable_path/../Frameworks/
|
||||
|
||||
Reference in New Issue
Block a user