fix: packaging

This commit is contained in:
punkfairie 2025-04-10 19:11:48 -07:00
parent 64bfb736a5
commit 01fac9d9f4
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
6 changed files with 13288 additions and 6690 deletions

BIN
bun.lockb

Binary file not shown.

View file

@ -35,13 +35,17 @@
modules = [ modules = [
{ {
languages = { languages = {
javascript = { javascript.enable = true;
enable = true;
bun.enable = true;
};
typescript.enable = true; # electron-forge doesn't work with bun yet :(
javascript.npm.enable = true;
}; };
packages = with pkgs; [
zip
wine64
mono
];
} }
]; ];
}; };

View file

@ -2,24 +2,8 @@ module.exports = {
packagerConfig: {}, packagerConfig: {},
rebuildConfig: {}, rebuildConfig: {},
makers: [ makers: [
{
name: '@electron-forge/maker-squirrel',
config: {
certificateFile: './cert.pfx',
certificatePassword: process.env.CERTIFICATE_PASSWORD,
},
},
{ {
name: '@electron-forge/maker-zip', name: '@electron-forge/maker-zip',
platforms: ['darwin', 'win32'],
},
{
name: '@electron-forge/maker-deb',
config: {},
},
{
name: '@electron-forge/maker-rpm',
config: {},
}, },
], ],
plugins: [ plugins: [

13274
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -2,12 +2,14 @@
"name": "ed-safari", "name": "ed-safari",
"productName": "ed-safari", "productName": "ed-safari",
"version": "1.0.0", "version": "1.0.0",
"description": "My Electron application description", "description": "Show body value while exploring!",
"main": ".vite/build/main.js", "main": ".vite/build/main.js",
"scripts": { "scripts": {
"start": "electron-forge start", "start": "electron-forge start",
"package": "electron-forge package", "package": "electron-forge package",
"make": "electron-forge make", "make:win": "electron-forge make --platform=win32",
"make:linux": "electron-forge make --platform=linux",
"make": "npm run make:win && npm run make:linux",
"publish": "electron-forge publish", "publish": "electron-forge publish",
"lint": "echo \"No linting configured\"", "lint": "echo \"No linting configured\"",
"test": "jest" "test": "jest"
@ -15,7 +17,7 @@
"keywords": [], "keywords": [],
"author": { "author": {
"name": "punkfairie", "name": "punkfairie",
"email": "marleyrae1997@gmail.com" "email": "marley@punkfairie.net"
}, },
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"browserslist": [ "browserslist": [

6666
yarn.lock

File diff suppressed because it is too large Load diff