update Makefile
This commit is contained in:
@@ -1,12 +1,15 @@
|
|||||||
icon_path = ./res/appicon-500.png
|
icon_path = ./res/appicon-500.png
|
||||||
|
app_name = Supersonic
|
||||||
|
|
||||||
build:
|
build:
|
||||||
go build
|
go build
|
||||||
|
|
||||||
package_macos:
|
package_macos:
|
||||||
fyne package -os darwin -icon $(icon_path)
|
fyne package -os darwin -name $(app_name) -icon $(icon_path)
|
||||||
mv ./supersonic.app Supersonic.app
|
|
||||||
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/
|
||||||
|
|
||||||
package_windows:
|
package_windows:
|
||||||
fyne package -os windows -icon $(icon_path)
|
fyne package -os windows -name $(app_name) -icon $(icon_path)
|
||||||
|
|
||||||
|
package_linux:
|
||||||
|
fyne package -os linux -name $(app_name) -icon $(icon_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user