mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-02 18:59:24 +08:00
31 lines
851 B
YAML
31 lines
851 B
YAML
|
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
|