add build setup

This commit is contained in:
Pritimay Sarkar
2023-08-05 20:50:01 +05:30
parent 98c9ef06c1
commit d63940d42c
7 changed files with 6275 additions and 2 deletions

30
forge.config.js Normal file
View File

@@ -0,0 +1,30 @@
module.exports = {
packagerConfig: {
asar: true,
},
rebuildConfig: {},
makers: [
{
name: '@electron-forge/maker-squirrel',
config: {},
},
{
name: '@electron-forge/maker-zip',
platforms: ['darwin'],
},
{
name: '@electron-forge/maker-deb',
config: {},
},
{
name: '@electron-forge/maker-rpm',
config: {},
},
],
plugins: [
{
name: '@electron-forge/plugin-auto-unpack-natives',
config: {},
},
],
};