feat: add Windows .exe support

- Add @electron-forge/maker-squirrel for Windows installer
- Create .ico icon from existing PNG
- Fix compositor platform detection for win32
- Forge config now builds both .dmg (macOS) and .exe (Windows)
This commit is contained in:
2026-06-02 04:10:11 -05:00
parent e42a484ab0
commit e7520b28f9
5 changed files with 152 additions and 7 deletions
+6 -1
View File
@@ -47,7 +47,12 @@ function setupPaths() {
}
// Compositor binaries (unpacked from asar)
const platform = process.platform === 'darwin' ? 'darwin' : 'linux';
const platformMap: Record<string, string> = {
darwin: 'darwin',
win32: 'win32',
linux: 'linux',
};
const platform = platformMap[process.platform] || process.platform;
const arch = process.arch;
const compositorPath = path.join(
resourcesPath,