escrcpy/src/main.js

32 lines
740 B
JavaScript
Raw Normal View History

import { createApp } from 'vue'
import App from './App.vue'
import store from './store/index.js'
import plugins from './plugins/index.js'
import 'virtual:uno.css'
import './styles/index.js'
const app = createApp(App)
app.use(store)
app.use(plugins)
app.config.globalProperties.$electron = window.electron
app.config.globalProperties.$adb = window.adbkit
app.config.globalProperties.$scrcpy = window.scrcpy
app.config.globalProperties.$path = window.nodePath
app.mount('#app')
2023-10-16 00:18:24 +08:00
// .$nextTick(() => {
// // Remove Preload scripts loading
// postMessage({ payload: 'removeLoading' }, '*')
// // Use contextBridge
// window.ipcRenderer.on('main-process-message', (_event, message) => {
// console.log(message)
// })
// })