forked from rustdesk/rustdesk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'rustdesk:master' into master
- Loading branch information
Showing
18 changed files
with
61 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "rustdesk" | ||
version = "1.3.5" | ||
version = "1.3.6" | ||
authors = ["rustdesk <[email protected]>"] | ||
edition = "2021" | ||
build= "build.rs" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Name: rustdesk | ||
Version: 1.3.5 | ||
Version: 1.3.6 | ||
Release: 0 | ||
Summary: RPM package | ||
License: GPL-3.0 | ||
|
@@ -9,6 +9,8 @@ Requires: gtk3 libxcb1 xdotool libXfixes3 alsa-utils libXtst6 libva2 pam gstre | |
Recommends: libayatana-appindicator3-1 | ||
Provides: libdesktop_drop_plugin.so()(64bit), libdesktop_multi_window_plugin.so()(64bit), libfile_selector_linux_plugin.so()(64bit), libflutter_custom_cursor_plugin.so()(64bit), libflutter_linux_gtk.so()(64bit), libscreen_retriever_plugin.so()(64bit), libtray_manager_plugin.so()(64bit), liburl_launcher_linux_plugin.so()(64bit), libwindow_manager_plugin.so()(64bit), libwindow_size_plugin.so()(64bit), libtexture_rgba_renderer_plugin.so()(64bit) | ||
|
||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/ | ||
|
||
%description | ||
The best open-source remote desktop client software, written in Rust. | ||
|
||
|
@@ -22,7 +24,7 @@ The best open-source remote desktop client software, written in Rust. | |
|
||
%install | ||
|
||
mkdir -p "%{buildroot}/usr/local/rustdesk" && cp -r ${HBB}/flutter/build/linux/x64/release/bundle/* -t "%{buildroot}/usr/local/rustdesk" | ||
mkdir -p "%{buildroot}/usr/share/rustdesk" && cp -r ${HBB}/flutter/build/linux/x64/release/bundle/* -t "%{buildroot}/usr/share/rustdesk" | ||
mkdir -p "%{buildroot}/usr/bin" | ||
install -Dm 644 $HBB/res/rustdesk.service -t "%{buildroot}/usr/share/rustdesk/files" | ||
install -Dm 644 $HBB/res/rustdesk.desktop -t "%{buildroot}/usr/share/rustdesk/files" | ||
|
@@ -31,7 +33,7 @@ install -Dm 644 $HBB/res/[email protected] "%{buildroot}/usr/share/icons/hicolor/25 | |
install -Dm 644 $HBB/res/scalable.svg "%{buildroot}/usr/share/icons/hicolor/scalable/apps/rustdesk.svg" | ||
|
||
%files | ||
/usr/local/rustdesk/* | ||
/usr/share/rustdesk/* | ||
/usr/share/rustdesk/files/rustdesk.service | ||
/usr/share/icons/hicolor/256x256/apps/rustdesk.png | ||
/usr/share/icons/hicolor/scalable/apps/rustdesk.svg | ||
|
@@ -41,7 +43,6 @@ install -Dm 644 $HBB/res/scalable.svg "%{buildroot}/usr/share/icons/hicolor/scal | |
%changelog | ||
# let's skip this for now | ||
|
||
# https://www.cnblogs.com/xingmuxin/p/8990255.html | ||
%pre | ||
# can do something for centos7 | ||
case "$1" in | ||
|
@@ -58,7 +59,7 @@ esac | |
cp /usr/share/rustdesk/files/rustdesk.service /etc/systemd/system/rustdesk.service | ||
cp /usr/share/rustdesk/files/rustdesk.desktop /usr/share/applications/ | ||
cp /usr/share/rustdesk/files/rustdesk-link.desktop /usr/share/applications/ | ||
ln -sf /usr/local/rustdesk/rustdesk /usr/bin/rustdesk | ||
ln -sf /usr/share/rustdesk/rustdesk /usr/bin/rustdesk | ||
systemctl daemon-reload | ||
systemctl enable rustdesk | ||
systemctl start rustdesk | ||
|
@@ -84,11 +85,14 @@ case "$1" in | |
rm /usr/bin/rustdesk || true | ||
rmdir /usr/lib/rustdesk || true | ||
rmdir /usr/local/rustdesk || true | ||
rmdir /usr/share/rustdesk || true | ||
rm /usr/share/applications/rustdesk.desktop || true | ||
rm /usr/share/applications/rustdesk-link.desktop || true | ||
update-desktop-database | ||
;; | ||
1) | ||
# for upgrade | ||
rmdir /usr/lib/rustdesk || true | ||
rmdir /usr/local/rustdesk || true | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Name: rustdesk | ||
Version: 1.3.5 | ||
Version: 1.3.6 | ||
Release: 0 | ||
Summary: RPM package | ||
License: GPL-3.0 | ||
|
@@ -9,6 +9,8 @@ Requires: gtk3 libxcb libxdo libXfixes alsa-lib libva pam gstreamer1-plugins-b | |
Recommends: libayatana-appindicator-gtk3 | ||
Provides: libdesktop_drop_plugin.so()(64bit), libdesktop_multi_window_plugin.so()(64bit), libfile_selector_linux_plugin.so()(64bit), libflutter_custom_cursor_plugin.so()(64bit), libflutter_linux_gtk.so()(64bit), libscreen_retriever_plugin.so()(64bit), libtray_manager_plugin.so()(64bit), liburl_launcher_linux_plugin.so()(64bit), libwindow_manager_plugin.so()(64bit), libwindow_size_plugin.so()(64bit), libtexture_rgba_renderer_plugin.so()(64bit) | ||
|
||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/ | ||
|
||
%description | ||
The best open-source remote desktop client software, written in Rust. | ||
|
||
|
@@ -22,7 +24,7 @@ The best open-source remote desktop client software, written in Rust. | |
|
||
%install | ||
|
||
mkdir -p "%{buildroot}/usr/local/rustdesk" && cp -r ${HBB}/flutter/build/linux/x64/release/bundle/* -t "%{buildroot}/usr/local/rustdesk" | ||
mkdir -p "%{buildroot}/usr/share/rustdesk" && cp -r ${HBB}/flutter/build/linux/x64/release/bundle/* -t "%{buildroot}/usr/share/rustdesk" | ||
mkdir -p "%{buildroot}/usr/bin" | ||
install -Dm 644 $HBB/res/rustdesk.service -t "%{buildroot}/usr/share/rustdesk/files" | ||
install -Dm 644 $HBB/res/rustdesk.desktop -t "%{buildroot}/usr/share/rustdesk/files" | ||
|
@@ -31,7 +33,7 @@ install -Dm 644 $HBB/res/[email protected] "%{buildroot}/usr/share/icons/hicolor/25 | |
install -Dm 644 $HBB/res/scalable.svg "%{buildroot}/usr/share/icons/hicolor/scalable/apps/rustdesk.svg" | ||
|
||
%files | ||
/usr/local/rustdesk/* | ||
/usr/share/rustdesk/* | ||
/usr/share/rustdesk/files/rustdesk.service | ||
/usr/share/icons/hicolor/256x256/apps/rustdesk.png | ||
/usr/share/icons/hicolor/scalable/apps/rustdesk.svg | ||
|
@@ -41,7 +43,6 @@ install -Dm 644 $HBB/res/scalable.svg "%{buildroot}/usr/share/icons/hicolor/scal | |
%changelog | ||
# let's skip this for now | ||
|
||
# https://www.cnblogs.com/xingmuxin/p/8990255.html | ||
%pre | ||
# can do something for centos7 | ||
case "$1" in | ||
|
@@ -58,7 +59,7 @@ esac | |
cp /usr/share/rustdesk/files/rustdesk.service /etc/systemd/system/rustdesk.service | ||
cp /usr/share/rustdesk/files/rustdesk.desktop /usr/share/applications/ | ||
cp /usr/share/rustdesk/files/rustdesk-link.desktop /usr/share/applications/ | ||
ln -sf /usr/local/rustdesk/rustdesk /usr/bin/rustdesk | ||
ln -sf /usr/share/rustdesk/rustdesk /usr/bin/rustdesk | ||
systemctl daemon-reload | ||
systemctl enable rustdesk | ||
systemctl start rustdesk | ||
|
@@ -84,11 +85,14 @@ case "$1" in | |
rm /usr/bin/rustdesk || true | ||
rmdir /usr/lib/rustdesk || true | ||
rmdir /usr/local/rustdesk || true | ||
rmdir /usr/share/rustdesk || true | ||
rm /usr/share/applications/rustdesk.desktop || true | ||
rm /usr/share/applications/rustdesk-link.desktop || true | ||
update-desktop-database | ||
;; | ||
1) | ||
# for upgrade | ||
rmdir /usr/lib/rustdesk || true | ||
rmdir /usr/local/rustdesk || true | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,8 @@ License: GPL-3.0 | |
Requires: gtk3 libxcb1 xdotool libXfixes3 alsa-utils libXtst6 libva2 pam gstreamer-plugins-base gstreamer-plugin-pipewire | ||
Recommends: libayatana-appindicator3-1 | ||
|
||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/ | ||
|
||
%description | ||
The best open-source remote desktop client software, written in Rust. | ||
|
||
|
@@ -19,12 +21,12 @@ The best open-source remote desktop client software, written in Rust. | |
|
||
%install | ||
mkdir -p %{buildroot}/usr/bin/ | ||
mkdir -p %{buildroot}/usr/local/rustdesk/ | ||
mkdir -p %{buildroot}/usr/share/rustdesk/ | ||
mkdir -p %{buildroot}/usr/share/rustdesk/files/ | ||
mkdir -p %{buildroot}/usr/share/icons/hicolor/256x256/apps/ | ||
mkdir -p %{buildroot}/usr/share/icons/hicolor/scalable/apps/ | ||
install -m 755 $HBB/target/release/rustdesk %{buildroot}/usr/bin/rustdesk | ||
install $HBB/libsciter-gtk.so %{buildroot}/usr/local/rustdesk/libsciter-gtk.so | ||
install $HBB/libsciter-gtk.so %{buildroot}/usr/share/rustdesk/libsciter-gtk.so | ||
install $HBB/res/rustdesk.service %{buildroot}/usr/share/rustdesk/files/ | ||
install $HBB/res/[email protected] %{buildroot}/usr/share/icons/hicolor/256x256/apps/rustdesk.png | ||
install $HBB/res/scalable.svg %{buildroot}/usr/share/icons/hicolor/scalable/apps/rustdesk.svg | ||
|
@@ -33,7 +35,7 @@ install $HBB/res/rustdesk-link.desktop %{buildroot}/usr/share/rustdesk/files/ | |
|
||
%files | ||
/usr/bin/rustdesk | ||
/usr/local/rustdesk/libsciter-gtk.so | ||
/usr/share/rustdesk/libsciter-gtk.so | ||
/usr/share/rustdesk/files/rustdesk.service | ||
/usr/share/icons/hicolor/256x256/apps/rustdesk.png | ||
/usr/share/icons/hicolor/scalable/apps/rustdesk.svg | ||
|
@@ -43,7 +45,6 @@ install $HBB/res/rustdesk-link.desktop %{buildroot}/usr/share/rustdesk/files/ | |
%changelog | ||
# let's skip this for now | ||
|
||
# https://www.cnblogs.com/xingmuxin/p/8990255.html | ||
%pre | ||
# can do something for centos7 | ||
case "$1" in | ||
|
Oops, something went wrong.