mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
feat: flatpak and flutter build
This commit is contained in:
31
flatpak/rustdesk.yml
Normal file
31
flatpak/rustdesk.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
app-id: org.rustdesk.rustdesk
|
||||
runtime: org.freedesktop.Platform
|
||||
runtime-version: '21.08'
|
||||
sdk: org.freedesktop.Sdk
|
||||
command: rustdesk
|
||||
modules:
|
||||
# install appindicator
|
||||
- shared-modules/libappindicator/libappindicator-gtk3-12.10.json
|
||||
- name: rustdesk
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- bsdtar -zxvf rustdesk-1.2.0.deb
|
||||
- tar -xvf ./data.tar.xz
|
||||
- cp -r ./usr /app/
|
||||
- rm /app/usr/bin/rustdesk
|
||||
- mkdir -p /app/bin && ln -s /app/usr/lib/rustdesk/flutter_hbb /app/bin/rustdesk
|
||||
sources:
|
||||
# Note: replace to deb files with url
|
||||
- type: file
|
||||
path: ../rustdesk-1.2.0.deb
|
||||
|
||||
finish-args:
|
||||
# X11 + XShm access
|
||||
- --share=ipc
|
||||
- --socket=x11
|
||||
# Wayland access
|
||||
- --socket=wayland
|
||||
# Needs to talk to the network:
|
||||
- --share=network
|
||||
# Needs to save files locally
|
||||
- --filesystem=xdg-documents
|
||||
1
flatpak/shared-modules
Submodule
1
flatpak/shared-modules
Submodule
Submodule flatpak/shared-modules added at cecc93886c
Reference in New Issue
Block a user