Files
koins/apps/desktop/electrobun.config.ts
T
TZGyn f46e61ed5e fix blank page, icons, add logging and EVM balance chart
- Fix blank page: set viewsRoot, base:'', history.replaceState in index.html
- Fix chain icons: add dist/icons→views/mainview/icons copy rule
- Add file-based logger (src/bun/lib/logger.ts) with logToFile RPC
- Add frontend error overlay + global error listeners in index.svelte
- Add EVM balance chart with time range filters (EvmDashboard.svelte)
- Replace console.log with file logger throughout backend
- Improve get-env.ts to read version.json for channel detection
2026-06-27 16:59:15 +08:00

31 lines
694 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',
'drizzle': 'drizzle',
'src/bun/native/biometric-helper': 'native/biometric-helper',
},
// Ignore Vite output in watch mode — HMR handles view rebuilds separately
watchIgnore: ['dist/**'],
mac: {
bundleCEF: false,
},
linux: {
bundleCEF: false,
},
win: {
bundleCEF: false,
},
},
} satisfies ElectrobunConfig