mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-16 21:33:41 +00:00
ci: fix linux desktop icon
This commit is contained in:
1 parent
d2f91a49ad
commit
ee0d081b83
1 file changed
+6
-5
@@ -163,13 +163,14 @@ jobs:
|
|||||||
cd ui/flutter
|
cd ui/flutter
|
||||||
flutter build linux
|
flutter build linux
|
||||||
mkdir -p debian/gui
|
mkdir -p debian/gui
|
||||||
|
cp assets/icon/icon_1024.png debian/gui/gopeed.png
|
||||||
cat>debian/debian.yaml<<EOF
|
cat>debian/debian.yaml<<EOF
|
||||||
flutter_app:
|
flutter_app:
|
||||||
command: Gopeed
|
command: gopeed
|
||||||
arch: x64
|
arch: x64
|
||||||
parent: /usr/local/lib
|
parent: /usr/local/lib
|
||||||
control:
|
control:
|
||||||
Package: Gopeed
|
Package: gopeed
|
||||||
Version: ${VERSION:1}
|
Version: ${VERSION:1}
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Essential: no
|
Essential: no
|
||||||
@@ -179,9 +180,9 @@ jobs:
|
|||||||
Description: High speed downloader that supports all platforms.
|
Description: High speed downloader that supports all platforms.
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat>debian/gui/Gopeed.desktop<<EOF
|
cat>debian/gui/gopeed.desktop<<EOF
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Version=1.0
|
Version=${VERSION:1}
|
||||||
Name=Gopeed
|
Name=Gopeed
|
||||||
GenericName=Gopeed
|
GenericName=Gopeed
|
||||||
Comment=High speed downloader that supports all platforms.
|
Comment=High speed downloader that supports all platforms.
|
||||||
@@ -193,7 +194,7 @@ jobs:
|
|||||||
|
|
||||||
dart pub global activate flutter_to_debian
|
dart pub global activate flutter_to_debian
|
||||||
flutter_to_debian
|
flutter_to_debian
|
||||||
mv debian/packages/Gopeed*.deb debian/packages/Gopeed-$VERSION-linux-amd64.deb
|
mv debian/packages/gopeed*.deb debian/packages/Gopeed-$VERSION-linux-amd64.deb
|
||||||
- name: Upload
|
- name: Upload
|
||||||
uses: shogo82148/actions-upload-release-asset@v1
|
uses: shogo82148/actions-upload-release-asset@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in new issue
Block a user