added password encryption and metainfo file so we are 100% gnome-software compatible

This commit is contained in:
2024-11-20 14:47:40 +01:00
parent f6975cccb1
commit 85ea660c7e
7 changed files with 99 additions and 32 deletions

View File

@@ -30,7 +30,7 @@ finish-args:
- --share=network
- --socket=pulseaudio
- --socket=cups
- --filesystem=home
- --filesystem=xdg-config
- --socket=pcsc
# - --socket=system-bus
# - --talk-name=org.freedesktop.Flatpak
@@ -69,7 +69,7 @@ modules:
build-args:
- --share=network
build-commands:
- pip3 install PyGObject
- pip3 install PyGObject cryptography
- name: rdpconnect
buildsystem: simple
@@ -77,6 +77,7 @@ modules:
- ls -l ./
- mkdir -p /app/share/icons/hicolor/scalable/apps/
- mkdir -p /app/share/applications/
- mkdir -p /app/share/metainfo
- install -Dm755 rdpconnect.sh /app/bin/rdpconnect
- install -Dm755 main.py /app/
- install com.angoosh.RDPConnect.ui /app/
@@ -84,6 +85,7 @@ modules:
- install style-light.css /app/
- install -Dm644 com.angoosh.RDPConnect.svg /app/share/icons/hicolor/scalable/apps/
- install -Dm644 com.angoosh.RDPConnect.desktop /app/share/applications/
- install -Dm644 com.angoosh.RDPConnect.metainfo.xml /app/share/metainfo/
sources:
- type: script
dest-filename: rdpconnect.sh
@@ -101,3 +103,5 @@ modules:
path: com.angoosh.RDPConnect.svg
- type: file
path: com.angoosh.RDPConnect.desktop
- type: file
path: com.angoosh.RDPConnect.metainfo.xml