This commit is contained in:
rustdesk 2023-01-24 01:24:53 +08:00
parent 32e7f2bb5f
commit d4851ebb40
2 changed files with 62 additions and 14 deletions

View File

@ -78,6 +78,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.1"
build_cli_annotations:
dependency: transitive
description:
name: build_cli_annotations
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
build_config:
dependency: transitive
description:
@ -169,6 +176,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.1"
cli_util:
dependency: transitive
description:
name: cli_util
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.5"
clock:
dependency: transitive
description:
@ -190,6 +204,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.16.0"
colorize:
dependency: transitive
description:
name: colorize
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0"
contextmenu:
dependency: "direct main"
description:
@ -339,6 +360,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.1"
ffigen:
dependency: "direct dev"
description:
name: ffigen
url: "https://pub.dartlang.org"
source: hosted
version: "7.2.4"
file:
dependency: transitive
description:
@ -429,12 +457,10 @@ packages:
flutter_rust_bridge:
dependency: "direct main"
description:
path: frb_dart
ref: master
resolved-ref: e5adce55eea0b74d3680e66a2c5252edf17b07e1
url: "https://github.com/SoLongAndThanksForAllThePizza/flutter_rust_bridge"
source: git
version: "1.32.0"
name: flutter_rust_bridge
url: "https://pub.dartlang.org"
source: hosted
version: "1.61.1"
flutter_svg:
dependency: "direct main"
description:
@ -846,6 +872,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.1"
puppeteer:
dependency: transitive
description:
name: puppeteer
url: "https://pub.dartlang.org"
source: hosted
version: "2.12.0"
qr_code_scanner:
dependency: "direct main"
description:
@ -853,6 +886,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
quiver:
dependency: transitive
description:
name: quiver
url: "https://pub.dartlang.org"
source: hosted
version: "3.2.1"
rxdart:
dependency: transitive
description:
@ -890,6 +930,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.4.0"
shelf_static:
dependency: transitive
description:
name: shelf_static
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.1"
shelf_web_socket:
dependency: transitive
description:
@ -1256,6 +1303,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.1"
yaml_edit:
dependency: transitive
description:
name: yaml_edit
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.3"
zxing2:
dependency: "direct main"
description:

View File

@ -49,10 +49,7 @@ lazy_static::lazy_static! {
static ref CONFIG2: Arc<RwLock<Config2>> = Arc::new(RwLock::new(Config2::load()));
static ref LOCAL_CONFIG: Arc<RwLock<LocalConfig>> = Arc::new(RwLock::new(LocalConfig::load()));
pub static ref ONLINE: Arc<Mutex<HashMap<String, i64>>> = Default::default();
pub static ref PROD_RENDEZVOUS_SERVER: Arc<RwLock<String>> = Arc::new(RwLock::new(match option_env!("RENDEZVOUS_SERVER") {
Some(key) => key,
_ => "",
}.to_owned()));
pub static ref PROD_RENDEZVOUS_SERVER: Arc<RwLock<String>> = Default::default();
pub static ref APP_NAME: Arc<RwLock<String>> = Arc::new(RwLock::new("RustDesk".to_owned()));
static ref KEY_PAIR: Arc<Mutex<Option<(Vec<u8>, Vec<u8>)>>> = Default::default();
static ref HW_CODEC_CONFIG: Arc<RwLock<HwCodecConfig>> = Arc::new(RwLock::new(HwCodecConfig::load()));
@ -86,10 +83,7 @@ const RENDEZVOUS_SERVERS: &'static [&'static str] = &[
"rs-cn.rustdesk.com",
];
pub const RS_PUB_KEY: &'static str = match option_env!("RS_PUB_KEY") {
Some(key) => key,
None => "OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw=",
};
pub const RS_PUB_KEY: &'static str = "OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw=";
pub const RENDEZVOUS_PORT: i32 = 21116;
pub const RELAY_PORT: i32 = 21117;