32 lines
707 B
TypeScript
32 lines
707 B
TypeScript
import type { ElectrobunConfig } from 'electrobun'
|
|
|
|
export default {
|
|
app: {
|
|
name: 'koins',
|
|
identifier: 'koins.tzgyn.com',
|
|
version: '0.0.1',
|
|
},
|
|
build: {
|
|
// Vite builds to dist/, we copy from there
|
|
copy: {
|
|
'dist/index.html': 'views/mainview/index.html',
|
|
'dist/assets': 'views/mainview/assets',
|
|
'dist/icons': 'views/mainview/icons',
|
|
'src/bun/native/biometric-helper': 'native/biometric-helper',
|
|
},
|
|
// Ignore Vite output in watch mode — HMR handles view rebuilds separately
|
|
watchIgnore: ['dist/**'],
|
|
mac: {
|
|
bundleCEF: false,
|
|
codesign: true,
|
|
notarize: true,
|
|
},
|
|
linux: {
|
|
bundleCEF: false,
|
|
},
|
|
win: {
|
|
bundleCEF: false,
|
|
},
|
|
},
|
|
} satisfies ElectrobunConfig
|