created installable flatpak file, moved connect button a bit
This commit is contained in:
59
com.angoosh.RDPConnect/com.angoosh.RDPConnect.yml
Normal file
59
com.angoosh.RDPConnect/com.angoosh.RDPConnect.yml
Normal file
@@ -0,0 +1,59 @@
|
||||
id: com.angoosh.RDPConnect
|
||||
runtime: org.gnome.Platform
|
||||
runtime-version: '47'
|
||||
sdk: org.gnome.Sdk
|
||||
command: rdpconnect
|
||||
|
||||
finish-args:
|
||||
- --socket=x11
|
||||
- --socket=wayland
|
||||
- --share=network
|
||||
- --filesystem=home
|
||||
- --socket=system-bus
|
||||
- --talk-name=org.freedesktop.Flatpak
|
||||
|
||||
modules:
|
||||
- name: python
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://www.python.org/ftp/python/3.9.9/Python-3.9.9.tar.xz
|
||||
sha256: 06828c04a573c073a4e51c4292a27c1be4ae26621c3edc7cf9318418ce3b6d27
|
||||
|
||||
- name: rdpconnect
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- ls -l ./
|
||||
- mkdir -p /app/share/icons/hicolor/scalable/apps/
|
||||
- mkdir -p /app/share/applications/
|
||||
- install -Dm755 rdpconnect.sh /app/bin/rdpconnect
|
||||
- install -Dm755 main.py /app/
|
||||
- install com.angoosh.RDPConnect.ui /app/
|
||||
- install style-dark.css /app/
|
||||
- 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/
|
||||
sources:
|
||||
- type: script
|
||||
dest-filename: rdpconnect.sh
|
||||
commands:
|
||||
- python3 /app/main.py
|
||||
- type: file
|
||||
path: main.py
|
||||
- type: file
|
||||
path: com.angoosh.RDPConnect.ui
|
||||
- type: file
|
||||
path: style-dark.css
|
||||
- type: file
|
||||
path: style-light.css
|
||||
- type: file
|
||||
path: com.angoosh.RDPConnect.svg
|
||||
- type: file
|
||||
path: com.angoosh.RDPConnect.desktop
|
||||
|
||||
- name: pip-deps
|
||||
buildsystem: simple
|
||||
build-options:
|
||||
build-args:
|
||||
- --share=network
|
||||
build-commands:
|
||||
- pip3 install PyGObject
|
||||
Reference in New Issue
Block a user