init.js 738 B

12345678910111213141516171819202122232425262728293031323334
  1. // Copyright 2019-2023 Tauri Programme within The Commons Conservancy
  2. // SPDX-License-Identifier: Apache-2.0
  3. // SPDX-License-Identifier: MIT
  4. ; (function () {
  5. __RAW_freeze_prototype__
  6. ; (function () {
  7. __RAW_hotkeys__
  8. })()
  9. __RAW_pattern_script__
  10. __RAW_ipc_script__
  11. ; (function () {
  12. __RAW_bundle_script__
  13. })()
  14. __RAW_listen_function__
  15. __RAW_core_script__
  16. __RAW_event_initialization_script__
  17. if (window.ipc) {
  18. window.__TAURI_INVOKE__('__initialized', { url: window.location.href })
  19. } else {
  20. window.addEventListener('DOMContentLoaded', function () {
  21. window.__TAURI_INVOKE__('__initialized', { url: window.location.href })
  22. })
  23. }
  24. __RAW_plugin_initialization_script__
  25. })()