From 5b87206c229e0e3e001fd951759653bca46dae34 Mon Sep 17 00:00:00 2001 From: Stanislav Dmitrenko <7953703+avently@users.noreply.github.com> Date: Thu, 21 Sep 2023 20:19:24 +0800 Subject: [PATCH] desktop: AppImage metadata (#2952) * desktop: AppImage metadata * update appimage metadata * add screenshots * update screenshots * update * update URLs * update link --------- Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> --- .../resources/distribute/SimpleX.desktop | 2 +- .../distribute/chat.simplex.app.appdata.xml | 69 +++++++++++++++++++ scripts/desktop/make-appimage-linux.sh | 8 ++- 3 files changed, 75 insertions(+), 4 deletions(-) create mode 100644 apps/multiplatform/desktop/src/jvmMain/resources/distribute/chat.simplex.app.appdata.xml diff --git a/apps/multiplatform/desktop/src/jvmMain/resources/distribute/SimpleX.desktop b/apps/multiplatform/desktop/src/jvmMain/resources/distribute/SimpleX.desktop index 225a7812b..79281a4dc 100644 --- a/apps/multiplatform/desktop/src/jvmMain/resources/distribute/SimpleX.desktop +++ b/apps/multiplatform/desktop/src/jvmMain/resources/distribute/SimpleX.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Type=Application Name=SimpleX Chat -Comment=Private and secure open-source messenger - no user IDs (not even random numbers). +Comment=Private and secure open-source messenger - no user IDs (not even random numbers) Exec=/opt/simplex/bin/simplex Icon=/opt/simplex/lib/simplex Categories=Network;Chat; diff --git a/apps/multiplatform/desktop/src/jvmMain/resources/distribute/chat.simplex.app.appdata.xml b/apps/multiplatform/desktop/src/jvmMain/resources/distribute/chat.simplex.app.appdata.xml new file mode 100644 index 000000000..9f9b2d6d2 --- /dev/null +++ b/apps/multiplatform/desktop/src/jvmMain/resources/distribute/chat.simplex.app.appdata.xml @@ -0,0 +1,69 @@ + + + chat.simplex.app + chat.simplex.app.desktop + FSFAP + AGPL-3.0 + SimpleX + Private and secure open-source messenger - no user IDs (not even random numbers) + + +

Security assessment was done by Trail of Bits in November 2022.

+

SimpleX Chat features:

+ +

SimpleX Chat advantages:

+ +

You can connect to anybody you know via link or scan QR code (in the video call or in person) and start sending messages instantly - no emails, phone numbers or passwords needed.

+

Your profile and contacts are only stored in the app on your device - our servers do not have access to this information.

+

All messages are end-to-end encrypted using open-source double-ratchet protocol; the messages are routed via our servers using open-source SimpleX Messaging Protocol.

+

Please send us any questions via the app or submit an issue on GitHub.

+

Follow us on Mastodon, Twitter and Reddit for the latest updates.

+

Once you install SimpleX Chat, "connect to developers" for any questions, to share feedback, and to discover the groups (the link for directory service will be in response).

+
+ + + + https://simplex.chat/img/simplex-desktop-linux-light.png + + + https://simplex.chat/img/simplex-desktop-linux-dark-1.png + + + https://simplex.chat/img/simplex-desktop-linux-dark-2.png + + + + https://simplex.chat + https://github.com/simplex-chat/simplex-chat/issues + https://github.com/simplex-chat/simplex-chat#help-translating-simplex-chat + https://simplex.chat/connect-team + https://github.com/simplex-chat/simplex-chat#help-us-with-donations + + + + + + +

- the first release of the desktop app!

+

- encrypted local files

+

- message delivery receipts in small groups

+

- 6 new interface languages: Arabic, Bulgarian, Finnish, Hebrew, Thai and Ukrainian

+
+
+
+
diff --git a/scripts/desktop/make-appimage-linux.sh b/scripts/desktop/make-appimage-linux.sh index bf00df439..e71b097c7 100755 --- a/scripts/desktop/make-appimage-linux.sh +++ b/scripts/desktop/make-appimage-linux.sh @@ -12,7 +12,7 @@ release_app_dir=$root_dir/apps/multiplatform/release/main/app cd $multiplatform_dir libcrypto_path=$(ldd common/src/commonMain/cpp/desktop/libs/*/deps/libHSdirect-sqlcipher-*.so | grep libcrypto | cut -d'=' -f 2 | cut -d ' ' -f 2) - +trap "rm common/src/commonMain/cpp/desktop/libs/*/deps/`basename $libcrypto_path` 2> /dev/null" EXIT cp $libcrypto_path common/src/commonMain/cpp/desktop/libs/*/deps ./gradlew createDistributable @@ -27,13 +27,15 @@ cp -r ../*imple*/{bin,lib} usr cp usr/lib/simplex.png . # For https://github.com/TheAssassin/AppImageLauncher to be able to show the icon -mkdir -p usr/share/icons +mkdir -p usr/share/{icons,metainfo,applications} cp usr/lib/simplex.png usr/share/icons ln -s usr/bin/*imple* AppRun -cp $multiplatform_dir/desktop/src/jvmMain/resources/distribute/*imple*.desktop . +cp $multiplatform_dir/desktop/src/jvmMain/resources/distribute/*imple*.desktop chat.simplex.app.desktop sed -i 's|Exec=.*|Exec=simplex|g' *imple*.desktop sed -i 's|Icon=.*|Icon=simplex|g' *imple*.desktop +cp *imple*.desktop usr/share/applications/ +cp $multiplatform_dir/desktop/src/jvmMain/resources/distribute/*.appdata.xml usr/share/metainfo if [ ! -f ../appimagetool-x86_64.AppImage ]; then wget https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage -O ../appimagetool-x86_64.AppImage