mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-23 11:36:13 +02:00
cf4d7d4e6c
* chore: adjust prettier config, .gitignore and use taplo to format toml files This brings the plugins-workspace repository to the same code style of the main tauri repo * format toml * ignore examples gen dir * add .vscode/extensions.json * remove packageManager field * fmt * fix audit * taplo ignore permissions autogenerated files * remove create dummy dist * fix prettier workflow * install fmt in prettier workflow --------- Co-authored-by: Lucas Nogueira <lucas@tauri.app>
17 lines
495 B
JavaScript
17 lines
495 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__,
|
|
os_type: __TEMPLATE_os_type__,
|
|
platform: __TEMPLATE_platform__,
|
|
family: __TEMPLATE_family__,
|
|
version: __TEMPLATE_version__,
|
|
arch: __TEMPLATE_arch__,
|
|
exe_extension: __TEMPLATE_exe_extension__
|
|
}
|
|
})
|