Files
koins/apps/desktop/electrobun.config.ts
2026-08-04 22:19:25 +08:00

32 lines
708 B
TypeScript

import type { ElectrobunConfig } from 'electrobun'
export default {
app: {
name: 'koins',
identifier: 'koins.tzgyn.com',
version: '0.0.12',
},
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