update electron android adb over browser

This commit is contained in:
Kenta420 2024-01-19 17:53:48 +07:00
parent 21109e4bf9
commit f6295a9c2f
26 changed files with 1551 additions and 172 deletions

View file

@ -5,14 +5,20 @@ import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
mode: 'electron',
envPrefix: 'TAOBIN_RECIPE_MANAGER_',
plugins: [
react(),
electron({
main: {
// Shortcut of `build.lib.entry`.
entry: 'electron/main.ts'
entry: 'electron/main.ts',
vite: {
build: {
rollupOptions: {
external: ['@postman/node-keytar']
}
}
}
},
preload: {
// Shortcut of `build.rollupOptions.input`.