mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2024-12-21 03:45:58 +01:00
24 lines
486 B
JavaScript
24 lines
486 B
JavaScript
import path from 'node:path'
|
|
|
|
import store from '@electron/helpers/store.js'
|
|
import * as configs from '@electron/configs/index.js'
|
|
import electron from './electron/index.js'
|
|
import adbkit from './adbkit/index.js'
|
|
import scrcpy from './scrcpy/index.js'
|
|
|
|
export default {
|
|
init(expose) {
|
|
expose('nodePath', path)
|
|
|
|
expose('appStore', store)
|
|
|
|
expose('electron', {
|
|
...electron(),
|
|
configs,
|
|
})
|
|
|
|
expose('adbkit', adbkit())
|
|
expose('scrcpy', scrcpy())
|
|
},
|
|
}
|