makefile
This commit is contained in:
parent
be3e612a86
commit
a37ee7a487
|
@ -1,16 +1,21 @@
|
||||||
build:
|
buildLinux:
|
||||||
GOOS=linux GOARCH=386 go build -o ../bin/legendsbrowser-linux-386
|
|
||||||
GOOS=linux GOARCH=amd64 go build -o ../bin/legendsbrowser-linux-x64
|
GOOS=linux GOARCH=amd64 go build -o ../bin/legendsbrowser-linux-x64
|
||||||
GOOS=windows GOARCH=386 go build -o ../bin/legendsbrowser-386.exe
|
|
||||||
GOOS=windows GOARCH=amd64 go build -o ../bin/legendsbrowser-x64.exe
|
buildWindows:
|
||||||
GOOS=darwin GOARCH=arm64 go build -o ../bin/legendsbrowser-macos-m1
|
GOOS=windows GOARCH=amd64 go build -o ../bin/legendsbrowser-win-x64.exe
|
||||||
|
|
||||||
buildMacOs:
|
buildMacOs:
|
||||||
|
GOOS=darwin GOARCH=amd64 go build -o ../bin/legendsbrowser-mac
|
||||||
|
GOOS=darwin GOARCH=arm64 go build -o ../bin/legendsbrowser-mac-m1
|
||||||
|
|
||||||
|
buildMacOsApp:
|
||||||
mkdir -p /tmp/build/macos
|
mkdir -p /tmp/build/macos
|
||||||
cp -r macos/LegendsBrowser.app /tmp/build/macos/
|
cp -r macos/LegendsBrowser.app /tmp/build/macos/
|
||||||
GOOS=darwin GOARCH=amd64 go build -o /tmp/build/macos/LegendsBrowser.app/Contents/MacOS/LegendsBrowser
|
GOOS=darwin GOARCH=amd64 go build -o /tmp/build/macos/LegendsBrowser.app/Contents/MacOS/LegendsBrowser
|
||||||
genisoimage -D -V "LegendsBrowser" -no-pad -r -apple -o /tmp/build/uncompressed.dmg /tmp/build/macos
|
genisoimage -D -V "LegendsBrowser" -no-pad -r -apple -o /tmp/build/uncompressed.dmg /tmp/build/macos
|
||||||
dmg dmg /tmp/build/uncompressed.dmg ../bin/LegendsBrowser.dmg
|
dmg dmg /tmp/build/uncompressed.dmg ../bin/LegendsBrowser.dmg
|
||||||
|
|
||||||
|
build: buildLinux buildWindows buildMacOs
|
||||||
|
|
||||||
runLast:
|
runLast:
|
||||||
go run main.go -c conf.json -l=true
|
go run main.go -c conf.json -l=true
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
<integer>1</integer>
|
<integer>1</integer>
|
||||||
<key>NSHighResolutionCapable</key><true/>
|
<key>NSHighResolutionCapable</key><true/>
|
||||||
<key>NSSupportsAutomaticGraphicsSwitching</key><true/>
|
<key>NSSupportsAutomaticGraphicsSwitching</key><true/>
|
||||||
<key>LSBackgroundOnly</key><true/>
|
<key>LSUIElement</key><true/>
|
||||||
|
<key>LSBackgroundOnly</key><false/>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
Loading…
Reference in New Issue