fix(os): use an internal object instead of window.__TAURI__, closes #719 (#721)

fix(os): use an internal object instead of ` window.__TAURI__`, closes  #719
This commit is contained in:
Amr Bashir
2023-11-14 02:55:00 +02:00
committed by GitHub
parent 251852ccbc
commit fc62ead565
7 changed files with 20 additions and 14 deletions
-5
View File
@@ -2,11 +2,6 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
#![cfg_attr(
all(not(debug_assertions), target_os = "windows"),
windows_subsystem = "windows"
)]
mod cmd;
#[cfg(desktop)]
mod tray;
+1 -2
View File
@@ -6,6 +6,5 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
fn main() {
#[cfg(desktop)]
api::run();
api_lib::run();
}