mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2025-02-11 08:13:00 +01:00
35 lines
838 B
JavaScript
35 lines
838 B
JavaScript
import { createApp } from 'vue'
|
|
import App from './App.vue'
|
|
|
|
import store from './store/index.js'
|
|
|
|
import plugins from './plugins/index.js'
|
|
import icons from './icons/index.js'
|
|
|
|
import { replaceIP } from '@/utils/index.js'
|
|
|
|
import 'virtual:uno.css'
|
|
import './styles/index.js'
|
|
|
|
const app = createApp(App)
|
|
|
|
app.use(store)
|
|
|
|
app.use(plugins)
|
|
app.use(icons)
|
|
|
|
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.config.globalProperties.$appStore = window.appStore
|
|
|
|
app.config.globalProperties.$replaceIP = replaceIP
|
|
|
|
console.log('electron', window.electron)
|
|
|
|
app.mount('#app').$nextTick(() => {
|
|
// Remove Preload scripts loading
|
|
postMessage({ payload: 'removeLoading' }, '*')
|
|
})
|