diff --git a/README.md b/README.md index 657488be0..fe6520f7a 100644 --- a/README.md +++ b/README.md @@ -139,31 +139,6 @@ target/release/rustdesk Please ensure that you are running these commands from the root of the RustDesk repository, otherwise the application may be unable to find the required resources. Also note that other cargo subcommands such as `install` or `run` are not currently supported via this method as they would install or run the program inside the container instead of the host. -## How to build and run with Snap - -Begin by cloning the repository and make sure snapcraft is installed in your Linux. - -```sh -git clone https://github.com/rustdesk/rustdesk -# if snapcraft is installed, please skip this -sudo snap install snapcraft --classic -# build rustdesk snap package -snapcraft --use-lxd -# install rustdesk snap package, `--dangerous` flag must exists if u manually build and install rustdesk -sudo snap install rustdesk_xxx.snap --dangerous -``` - -Note: Some of interfaces needed by RustDesk cannot automatically connected by Snap. Please **manually** connect them by executing: -```sh -# record system audio -snap connect rustdesk:audio-record -snap connect rustdesk:pulseaudio -# observe loginctl session -snap connect rustdesk:login-session-observe -``` - -After steps above, RustDesk can be found in System App Menu. - ## File Structure - **[libs/hbb_common](https://github.com/rustdesk/rustdesk/tree/master/libs/hbb_common)**: video codec, config, tcp/udp wrapper, protobuf, fs functions for file transfer, and some other utility functions diff --git a/rustdesk.desktop b/rustdesk.desktop deleted file mode 100644 index e571e0602..000000000 --- a/rustdesk.desktop +++ /dev/null @@ -1,20 +0,0 @@ -[Desktop Entry] -Version=1.0 -Name=RustDesk -GenericName=Remote Desktop -Comment=Remote Desktop -Exec=rustdesk %u -Icon=/usr/share/rustdesk/files/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 - diff --git a/rustdesk.png b/rustdesk.png deleted file mode 100644 index 3da699f1d..000000000 Binary files a/rustdesk.png and /dev/null differ diff --git a/snap/README.md b/snap/README.md new file mode 100644 index 000000000..e785d4657 --- /dev/null +++ b/snap/README.md @@ -0,0 +1,25 @@ +## How to build and run with Snap + +Begin by cloning the repository and make sure snapcraft is installed in your Linux. + +```sh +git clone https://github.com/rustdesk/rustdesk +# if snapcraft is installed, please skip this +sudo snap install snapcraft --classic +# build rustdesk snap package +snapcraft --use-lxd +# install rustdesk snap package, `--dangerous` flag must exists if u manually build and install rustdesk +sudo snap install rustdesk_xxx.snap --dangerous +``` + +Note: Some of interfaces needed by RustDesk cannot automatically connected by Snap. Please **manually** connect them by executing: +```sh +# record system audio +snap connect rustdesk:audio-record +snap connect rustdesk:pulseaudio +# observe loginctl session +snap connect rustdesk:login-session-observe +``` + +After steps above, RustDesk can be found in System App Menu. +