fix ci
This commit is contained in:
parent
8070600e03
commit
cfaeb6ac0a
@ -420,7 +420,7 @@ impl Client {
|
|||||||
key: &str,
|
key: &str,
|
||||||
conn: &mut Stream,
|
conn: &mut Stream,
|
||||||
direct: bool,
|
direct: bool,
|
||||||
mut interface: impl Interface,
|
interface: impl Interface,
|
||||||
) -> ResultType<()> {
|
) -> ResultType<()> {
|
||||||
let rs_pk = get_rs_pk(if key.is_empty() {
|
let rs_pk = get_rs_pk(if key.is_empty() {
|
||||||
hbb_common::config::RS_PUB_KEY
|
hbb_common::config::RS_PUB_KEY
|
||||||
|
@ -19,7 +19,8 @@ use crate::flutter::{self, SESSIONS};
|
|||||||
use crate::ui_interface::{self, *};
|
use crate::ui_interface::{self, *};
|
||||||
use crate::{
|
use crate::{
|
||||||
client::file_trait::FileManager,
|
client::file_trait::FileManager,
|
||||||
flutter::{make_fd_to_json, session_add, session_start_},
|
common::make_fd_to_json,
|
||||||
|
flutter::{session_add, session_start_},
|
||||||
};
|
};
|
||||||
fn initialize(app_dir: &str) {
|
fn initialize(app_dir: &str) {
|
||||||
*config::APP_DIR.write().unwrap() = app_dir.to_owned();
|
*config::APP_DIR.write().unwrap() = app_dir.to_owned();
|
||||||
|
@ -24,7 +24,7 @@ use hbb_common::{
|
|||||||
time::{interval, Duration},
|
time::{interval, Duration},
|
||||||
},
|
},
|
||||||
udp::FramedSocket,
|
udp::FramedSocket,
|
||||||
AddrMangle, IntoTargetAddr, ResultType, TargetAddr,
|
AddrMangle, ResultType, TargetAddr,
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::server::{check_zombie, new as new_server, ServerPtr};
|
use crate::server::{check_zombie, new as new_server, ServerPtr};
|
||||||
|
@ -206,7 +206,7 @@ fn is_service_stoped() -> bool {
|
|||||||
pub fn make_tray() {
|
pub fn make_tray() {
|
||||||
use tray_item::TrayItem;
|
use tray_item::TrayItem;
|
||||||
let mode = dark_light::detect();
|
let mode = dark_light::detect();
|
||||||
let mut icon_path = "";
|
let icon_path;
|
||||||
match mode {
|
match mode {
|
||||||
dark_light::Mode::Dark => {
|
dark_light::Mode::Dark => {
|
||||||
icon_path = "mac-tray-light.png";
|
icon_path = "mac-tray-light.png";
|
||||||
|
Loading…
Reference in New Issue
Block a user