refactor(os)!: make platform, arch, type, family, version and exe_extension functions sync (#1353)

closes #1351
This commit is contained in:
Amr Bashir
2024-06-17 17:03:04 +02:00
committed by GitHub
parent f30a3b0501
commit 0959fe3757
6 changed files with 71 additions and 71 deletions
+6
View File
@@ -6,5 +6,11 @@
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__,
},
});