-
Notifications
You must be signed in to change notification settings - Fork 875
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2437511
commit 39a39b4
Showing
8 changed files
with
136 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
VERSION := 0.4.3 | ||
SHORTVERSION := 0.4.3 | ||
VERSION := 0.4.4 | ||
SHORTVERSION := 0.4.4 | ||
|
||
.PHONY: windows package-windows linux package-linux darwin package-darwin clean | ||
|
||
|
@@ -19,13 +19,13 @@ define fpm-debian-build | |
cp $$INSTALLER_RESOURCES/firefly.desktop $$WORKDIR/usr/share/applications && \ | ||
cp $$INSTALLER_RESOURCES/firefly_256.png $$WORKDIR/usr/share/icons/hicolor/256x256/apps/firefly.png && \ | ||
\ | ||
cp firefly $$WORKDIR/usr/bin/firefly-bin && \ | ||
cp $3 $$WORKDIR/usr/bin/firefly-bin && \ | ||
cp $$INSTALLER_RESOURCES/firefly.sh $$WORKDIR/usr/bin/firefly && \ | ||
\ | ||
chmod -x $$WORKDIR/usr/bin/firefly-bin && \ | ||
chmod +x $$WORKDIR/usr/bin/firefly && \ | ||
\ | ||
fpm --license BSD --description "$$DESC" --vendor yinghuocho --maintainer "yinghuocho <[email protected]>" --url https://gofirefly.org/ -a $$PKG_ARCH -s dir -t deb -n firefly -v $$VERSION -C $$WORKDIR -f usr; | ||
fpm --depends "libappindicator3-1" --license BSD --description "$$DESC" --vendor yinghuocho --maintainer "yinghuocho <[email protected]>" --url https://gofirefly.org/ -a $$PKG_ARCH -s dir -t deb -n firefly -v $$VERSION -C $$WORKDIR -f usr; | ||
endef | ||
|
||
windows: | ||
|
@@ -38,8 +38,14 @@ package-windows: windows | |
linux: | ||
GOOS=linux GOARCH=amd64 go build -ldflags="-w -s -linkmode internal" -a -o firefly | ||
|
||
linux32: | ||
GOOS=linux GOARCH=386 go build -ldflags="-w -s -linkmode internal" -a -o firefly32 | ||
|
||
package-linux: linux | ||
$(call fpm-debian-build,"amd64","${VERSION}") | ||
$(call fpm-debian-build,"amd64","${VERSION}","firefly") | ||
|
||
package-linux32: | ||
$(call fpm-debian-build,"i386","${VERSION}","firefly32") | ||
|
||
darwin: | ||
GOOS=darwin GOARCH=amd64 go build -ldflags="-w" -a -o firefly_darwin_amd64 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# format: front_url,real_host | ||
https://a0.awsstatic.com,d288jep9bb0hx9.cloudfront.net | ||
# format: front_url,real_host,group | ||
https://a0.awsstatic.com,d288jep9bb0hx9.cloudfront.net,group1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.