mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-23 19:49:05 +08:00
1.2.0 -> 1.1.10
This commit is contained in:
parent
00afa50497
commit
b88b4151bc
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -4043,7 +4043,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rustdesk"
|
||||
version = "1.2.0"
|
||||
version = "1.1.10"
|
||||
dependencies = [
|
||||
"android_logger 0.11.0",
|
||||
"arboard",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "rustdesk"
|
||||
version = "1.2.0"
|
||||
version = "1.1.10"
|
||||
authors = ["rustdesk <info@rustdesk.com>"]
|
||||
edition = "2021"
|
||||
build= "build.rs"
|
||||
|
@ -26,7 +26,7 @@ AppDir:
|
||||
id: rustdesk
|
||||
name: RustDesk
|
||||
icon: rustdesk
|
||||
version: 1.2.0
|
||||
version: 1.1.10
|
||||
exec: usr/bin/rustdesk
|
||||
exec_args: $@
|
||||
apt:
|
||||
|
@ -1,5 +1,5 @@
|
||||
[Desktop Entry]
|
||||
Version=1.2.0
|
||||
Version=1.1.10
|
||||
Name=RustDesk
|
||||
GenericName=Remote Desktop
|
||||
Comment=Remote Desktop
|
||||
|
@ -13,6 +13,7 @@ if __name__ == '__main__':
|
||||
version = get_version()
|
||||
os.chdir("appimage")
|
||||
os.system("sed -i 's/^Version=.*/Version=%s/g' rustdesk.desktop" % version)
|
||||
os.system("sed -i 's/^ version: .*/ version: %s/g' AppImageBuilder.yml" % version)
|
||||
# build appimage
|
||||
ret = os.system("appimage-builder --recipe AppImageBuilder.yml --skip-test")
|
||||
if ret == 0:
|
||||
|
@ -195,7 +195,7 @@ pub fn is_file_exists(file_path: &str) -> bool {
|
||||
|
||||
#[inline]
|
||||
pub fn can_enable_overwrite_detection(version: i64) -> bool {
|
||||
version >= get_version_number("1.2.0")
|
||||
version >= get_version_number("1.1.10")
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
|
@ -14,7 +14,7 @@ use hbb_common::{
|
||||
};
|
||||
#[cfg(any(target_os = "android", target_os = "ios", feature = "cli"))]
|
||||
use hbb_common::{config::RENDEZVOUS_PORT, futures::future::join_all};
|
||||
use std::{sync::{Arc, Mutex}, path::Path};
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
pub const CLIPBOARD_NAME: &'static str = "clipboard";
|
||||
pub const CLIPBOARD_INTERVAL: u64 = 333;
|
||||
@ -385,7 +385,7 @@ pub fn run_me<T: AsRef<std::ffi::OsStr>>(args: Vec<T>) -> std::io::Result<std::p
|
||||
#[cfg(feature = "appimage")]
|
||||
{
|
||||
let appdir = std::env::var("APPDIR").unwrap();
|
||||
let appimage_cmd = Path::new(&appdir).join("AppRun");
|
||||
let appimage_cmd = std::path::Path::new(&appdir).join("AppRun");
|
||||
log::info!("path: {:?}", appimage_cmd);
|
||||
return std::process::Command::new(appimage_cmd).args(&args).spawn();
|
||||
}
|
||||
@ -633,4 +633,4 @@ pub fn make_fd_to_json(fd: FileDirectory) -> String {
|
||||
}
|
||||
fd_json.insert("entries".into(), json!(entries));
|
||||
serde_json::to_string(&fd_json).unwrap_or("".into())
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user