mirror of
https://github.com/nimbold/Firelink.git
synced 2026-09-10 09:45:44 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 765451f221 |
@@ -29,8 +29,7 @@ const child = spawn(executable, [], {
|
||||
detached: process.platform !== 'win32',
|
||||
env: {
|
||||
...process.env,
|
||||
FIRELINK_SMOKE_TEST: '1',
|
||||
FIRELINK_DISABLE_ARIA2_WEBSOCKET: '1',
|
||||
FIRELINK_SMOKE_TEST: '1',
|
||||
WEBKIT_DISABLE_COMPOSITING_MODE: '1',
|
||||
GDK_BACKEND: 'x11',
|
||||
},
|
||||
|
||||
@@ -3996,9 +3996,6 @@ fn mark_main_window_startup_complete(app_handle: &tauri::AppHandle) {
|
||||
#[cfg(target_os = "windows")]
|
||||
fn reveal_main_window(app_handle: &tauri::AppHandle) {
|
||||
if let Some(window) = app_handle.get_webview_window("main") {
|
||||
if let Err(error) = window.set_focusable(true) {
|
||||
log::warn!("Could not make the main window focusable: {error}");
|
||||
}
|
||||
if let Err(error) = window.show() {
|
||||
eprintln!("Failed to reveal the main window: {error}");
|
||||
}
|
||||
@@ -18558,8 +18555,7 @@ pub fn run() {
|
||||
// re-enter that handler during native construction.
|
||||
main_window_builder = main_window_builder
|
||||
.visible(false)
|
||||
.focused(false)
|
||||
.focusable(false);
|
||||
.focused(false);
|
||||
}
|
||||
main_window_builder
|
||||
.build()
|
||||
@@ -18854,9 +18850,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 {
|
||||
|
||||
Reference in New Issue
Block a user