// Copyright(c) 2019-2025 pypy, Natsumi and individual contributors. // All rights reserved. // // This work is licensed under the terms of the MIT license. // For a copy, see . import Vue from 'vue'; import { initNoty } from './plugin/noty'; import './plugin/i18n.js'; import InteropApi from './ipc-electron/interopApi.js'; import Vr from './Vr.vue'; initNoty(true); if (WINDOWS) { await CefSharp.BindObjectAsync('AppApiVr'); } else { // @ts-ignore window.AppApiVr = InteropApi.AppApiVrElectron; } const $app = new Vue({ render: (h) => h(Vr) }).$mount('#root'); window.$app = $app;