feat: snapcraft files
This commit is contained in:
parent
92be77cf88
commit
8f4adab3c8
30
.github/workflows/snap-ci.yml
vendored
Normal file
30
.github/workflows/snap-ci.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: Snap CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
paths-ignore:
|
||||||
|
- README.md
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-snap-master-package:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out Git repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Use Snapcraft
|
||||||
|
uses: snapcore/action-build@v1
|
||||||
|
id: build
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: rustdesk.snap
|
||||||
|
path: ${{ steps.build.outputs.snap }}
|
||||||
|
# - uses: snapcore/action-publish@v1
|
||||||
|
# with:
|
||||||
|
# store_login: ${{ secrets.SNAP_TOKEN }}
|
||||||
|
# snap: ${{ steps.build.outputs.snap }}
|
||||||
|
# release: edge
|
20
snap/gui/rustdesk.desktop
Normal file
20
snap/gui/rustdesk.desktop
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Name=RustDesk
|
||||||
|
GenericName=Remote Desktop
|
||||||
|
Comment=Remote Desktop
|
||||||
|
Exec=rustdesk %u
|
||||||
|
Icon=${SNAP}/meta/gui/rustdesk.png
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
|
||||||
|
StartupNotify=true
|
||||||
|
Categories=Other;
|
||||||
|
Keywords=internet;
|
||||||
|
Actions=new-window;
|
||||||
|
|
||||||
|
X-Desktop-File-Install-Version=0.23
|
||||||
|
|
||||||
|
[Desktop Action new-window]
|
||||||
|
Name=Open a New Window
|
||||||
|
|
BIN
snap/gui/rustdesk.png
Normal file
BIN
snap/gui/rustdesk.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
@ -124,7 +124,6 @@ apps:
|
|||||||
plugs:
|
plugs:
|
||||||
- network
|
- network
|
||||||
- audio-playback
|
- audio-playback
|
||||||
- audio-record
|
|
||||||
- home
|
- home
|
||||||
- x11
|
- x11
|
||||||
- opengl
|
- opengl
|
||||||
@ -134,7 +133,27 @@ apps:
|
|||||||
- pulseaudio
|
- pulseaudio
|
||||||
- gsettings
|
- gsettings
|
||||||
- unity7
|
- unity7
|
||||||
|
# must manually connect
|
||||||
|
- login-session-observe
|
||||||
|
# [option] manually connect
|
||||||
|
- audio-record
|
||||||
rustdesk-service:
|
rustdesk-service:
|
||||||
command: bin/rustdesk --service
|
command: bin/rustdesk --service
|
||||||
daemon: simple
|
daemon: simple
|
||||||
|
plugs:
|
||||||
|
- network
|
||||||
|
- audio-playback
|
||||||
|
- home
|
||||||
|
- x11
|
||||||
|
- opengl
|
||||||
|
- wayland
|
||||||
|
- desktop
|
||||||
|
- desktop-legacy
|
||||||
|
- pulseaudio
|
||||||
|
- gsettings
|
||||||
|
- unity7
|
||||||
|
# must manually connect
|
||||||
|
- login-session-observe
|
||||||
|
# [option] manually connect
|
||||||
|
- audio-record
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user