Fix #175: correct version in Mac system about dialog
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
icon_path = ./res/appicon-512.png
|
icon_path = ./res/appicon-512.png
|
||||||
icon_path_mac = ./res/appicon-macos.png
|
icon_path_mac = ./res/appicon-macos.png
|
||||||
app_name = Supersonic
|
app_name = Supersonic
|
||||||
|
app_version = 0.3.0
|
||||||
|
|
||||||
build:
|
build:
|
||||||
go build
|
go build
|
||||||
@@ -9,7 +10,7 @@ build:
|
|||||||
# so the last 3 cmds move it over manually. This is a bit fragile though
|
# 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
|
# since it assumes a specific location and version of the dependency
|
||||||
package_macos:
|
package_macos:
|
||||||
fyne package -os darwin -name $(app_name) -icon $(icon_path_mac)
|
fyne package -os darwin -name $(app_name) -appVersion $(app_version) -icon $(icon_path_mac)
|
||||||
|
|
||||||
bundledeps_macos:
|
bundledeps_macos:
|
||||||
dylibbundler -od -b -x ./Supersonic.app/Contents/MacOS/supersonic -d ./Supersonic.app/Contents/Frameworks/ -p @executable_path/../Frameworks/
|
dylibbundler -od -b -x ./Supersonic.app/Contents/MacOS/supersonic -d ./Supersonic.app/Contents/Frameworks/ -p @executable_path/../Frameworks/
|
||||||
@@ -25,7 +26,7 @@ zip_macos:
|
|||||||
zip --symlinks -r Supersonic.zip Supersonic.app/
|
zip --symlinks -r Supersonic.zip Supersonic.app/
|
||||||
|
|
||||||
package_windows:
|
package_windows:
|
||||||
fyne package -os windows -name $(app_name) -icon $(icon_path)
|
fyne package -os windows -name $(app_name) -appVersion $(app_version) -icon $(icon_path)
|
||||||
|
|
||||||
package_linux:
|
package_linux:
|
||||||
fyne package -os linux -name $(app_name) -icon $(icon_path)
|
fyne package -os linux -name $(app_name) -appVersion $(app_version) -icon $(icon_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user