Files
miniSCP/electrobun.config.ts
T
JokinandClaude Fable 5 c7271fb7cf Windows compatibility pass (beta target)
External editor via cmd/start + exe picker; Permissions hidden for
Windows-local (chmod only flips read-only there); Explorer/Recycle Bin
wording; Ctrl vs Cmd shortcut labels; separator-aware path joins +
drive-root detection; drives list in the panel source picker; icon.ico
+ colored tray icon; icacls ACL on connections.json; README Windows
(beta) section with upstream known issues and a smoke-test checklist.
Runtime paths pending first boot on a real Windows machine.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 00:02:42 +02:00

35 lines
826 B
TypeScript

import type { ElectrobunConfig } from "electrobun";
import { BRANDING } from "./src/shared/branding";
export default {
app: {
name: BRANDING.appName,
identifier: BRANDING.identifier,
version: BRANDING.version,
},
build: {
bun: {
entrypoint: "src/bun/index.ts",
// ssh2's optional native accelerators must never be bundled; its
// runtime try/catch falls back to pure JS when the require fails.
external: ["cpu-features", "*.node"],
},
copy: {
"ui/dist/ui/browser": "views/app",
"assets/tray": "views/assets/tray",
},
watchIgnore: ["ui/**", "dist/**"],
mac: {
bundleCEF: false,
icons: BRANDING.icon,
},
linux: {
bundleCEF: false,
},
win: {
bundleCEF: false, // system WebView2 keeps the bundle small
icon: "assets/icon.ico",
},
},
} satisfies ElectrobunConfig;