Fix unecessary dependency to OS icons.

This commit is contained in:
John Livingston 2023-07-17 12:37:05 +02:00
parent 58eb8607ee
commit d0ff022b51
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
2 changed files with 8 additions and 2 deletions

View File

@ -15,6 +15,9 @@ script:
- cp ./launcher.lua AppDir/usr/bin/
# Creating the /etc/prosody/certs folder to avoid unecessary errors
- mkdir -p AppDir/etc/prosody/certs
# Adding the icon
- mkdir -p $TARGET_APPDIR/usr/share/icons/hicolor/scalable/apps
- cp ../../assets/images/avatars/1.svg $TARGET_APPDIR/usr/share/icons/hicolor/scalable/apps/livechat.svg
AppDir:
path: ./AppDir
@ -22,7 +25,7 @@ AppDir:
app_info:
id: org.peertube-plugin-livechat.prosody
name: prosody
icon: utilities-terminal
icon: livechat
version: 1.0.0
exec: usr/bin/lua5.2
exec_args: "$APPDIR/usr/bin/launcher.lua $@"

View File

@ -12,6 +12,9 @@ script:
- cp ./launcher.lua AppDir/usr/bin/
# Creating the /etc/prosody/certs folder to avoid unecessary errors
- mkdir -p AppDir/etc/prosody/certs
# Adding the icon
- mkdir -p $TARGET_APPDIR/usr/share/icons/hicolor/scalable/apps
- cp ../../assets/images/avatars/1.svg $TARGET_APPDIR/usr/share/icons/hicolor/scalable/apps/livechat.svg
AppDir:
path: ./AppDir
@ -19,7 +22,7 @@ AppDir:
app_info:
id: org.peertube-plugin-livechat.prosody
name: prosody
icon: utilities-terminal
icon: livechat
version: 1.0.0
exec: usr/bin/lua5.2
exec_args: "$APPDIR/usr/bin/launcher.lua $@"