mirror of
https://github.com/nimbold/Firelink.git
synced 2026-09-10 09:45:44 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 09a5852939 |
@@ -29,8 +29,8 @@ const child = spawn(executable, [], {
|
||||
detached: process.platform !== 'win32',
|
||||
env: {
|
||||
...process.env,
|
||||
FIRELINK_SMOKE_TEST: '1',
|
||||
FIRELINK_DISABLE_ARIA2_WEBSOCKET: '1',
|
||||
FIRELINK_SMOKE_TEST: '1',
|
||||
FIRELINK_SKIP_STARTUP_REVEAL: '1',
|
||||
WEBKIT_DISABLE_COMPOSITING_MODE: '1',
|
||||
GDK_BACKEND: 'x11',
|
||||
},
|
||||
|
||||
@@ -18854,9 +18854,6 @@ pub fn run() {
|
||||
}
|
||||
}
|
||||
|
||||
if std::env::var_os("FIRELINK_DISABLE_ARIA2_WEBSOCKET").is_some() {
|
||||
return;
|
||||
}
|
||||
let mut ws_retries = 0;
|
||||
loop {
|
||||
if ws_retries == 10 {
|
||||
@@ -19902,7 +19899,9 @@ pub fn run() {
|
||||
tauri::RunEvent::Ready => {
|
||||
mark_main_window_startup_complete(app_handle);
|
||||
#[cfg(target_os = "windows")]
|
||||
reveal_main_window(app_handle);
|
||||
if std::env::var_os("FIRELINK_SKIP_STARTUP_REVEAL").is_none() {
|
||||
reveal_main_window(app_handle);
|
||||
}
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
restore_pending_main_window(app_handle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user