mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-21 11:26:15 +02:00
fc62ead565
fix(os): use an internal object instead of ` window.__TAURI__`, closes #719
13 lines
306 B
JavaScript
13 lines
306 B
JavaScript
// Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
// eslint-disable-next-line
|
|
Object.defineProperty(window, "__TAURI_OS_PLUGIN_INTERNALS__", {
|
|
value: {
|
|
eol: __TEMPLATE_eol__,
|
|
},
|
|
});
|
|
|
|
__RAW_global_os_api__;
|