refactor(forge.config): standardize quotation marks and reorganize configuration structure for clarity and consistency
Some checks failed
CI / lint (push) Successful in 1m43s
Build Test / Build and Test (pull_request) Successful in 59s
CI / test-backend (pull_request) Successful in 39s
CI / lint (pull_request) Successful in 1m35s
Build and Publish Docker Image / build (pull_request) Has been skipped
CI / test-lang (pull_request) Successful in 1m22s
Tests / test (push) Failing after 8m4s
CI / build-frontend (push) Successful in 9m41s
CI / test-lang (push) Successful in 9m37s
Tests / test (pull_request) Failing after 7m4s
CI / build-frontend (pull_request) Successful in 9m37s
Benchmarks / benchmark (pull_request) Successful in 13m23s
Build and Publish Docker Image / build-dev (pull_request) Successful in 11m37s
Benchmarks / benchmark (push) Successful in 17m12s
CI / test-backend (push) Successful in 4s
Build Test / Build and Test (push) Successful in 1m12s

This commit is contained in:
2026-01-03 18:43:31 -06:00
parent 17d7ad86a0
commit 7abd0571c9

View File

@@ -1,73 +1,73 @@
const { FusesPlugin } = require('@electron-forge/plugin-fuses'); const { FusesPlugin } = require("@electron-forge/plugin-fuses");
const { FuseV1Options, FuseVersion } = require('@electron/fuses'); const { FuseV1Options, FuseVersion } = require("@electron/fuses");
module.exports = { module.exports = {
packagerConfig: { packagerConfig: {
asar: { asar: {
unpack: 'build/exe/**/*', unpack: "build/exe/**/*",
},
executableName: 'reticulum-meshchatx',
name: 'Reticulum MeshChatX',
appBundleId: 'com.sudoivan.reticulummeshchatx',
icon: 'electron/build/icon',
// osxSign: {}, // Uncomment and configure for macOS signing
// osxNotarize: { ... }, // Uncomment and configure for macOS notarization
},
rebuildConfig: {},
makers: [
{
name: '@electron-forge/maker-squirrel',
config: {
name: 'reticulum_meshchatx',
},
},
{
name: '@electron-forge/maker-zip',
platforms: ['darwin'],
},
{
name: '@electron-forge/maker-deb',
config: {
options: {
maintainer: 'Sudo-Ivan',
homepage: 'https://git.quad4.io/RNS-Things/MeshChatX',
categories: ['Network'],
}, },
}, executableName: "reticulum-meshchatx",
name: "Reticulum MeshChatX",
appBundleId: "com.sudoivan.reticulummeshchatx",
icon: "electron/build/icon",
// osxSign: {}, // Uncomment and configure for macOS signing
// osxNotarize: { ... }, // Uncomment and configure for macOS notarization
}, },
{ rebuildConfig: {},
name: '@electron-forge/maker-rpm', makers: [
config: {}, {
}, name: "@electron-forge/maker-squirrel",
{ config: {
name: '@electron-forge/maker-flatpak', name: "reticulum_meshchatx",
config: { },
options: {
categories: ['Network'],
runtime: 'org.freedesktop.Platform',
runtimeVersion: '24.08',
sdk: 'org.freedesktop.Sdk',
base: 'org.electronjs.Electron2.BaseApp',
baseVersion: '24.08',
}, },
}, {
}, name: "@electron-forge/maker-zip",
], platforms: ["darwin"],
plugins: [ },
{ {
name: '@electron-forge/plugin-auto-unpack-natives', name: "@electron-forge/maker-deb",
config: {}, config: {
}, options: {
// Fuses are used to enable/disable various Electron functionality maintainer: "Sudo-Ivan",
// at package time, before code signing the application homepage: "https://git.quad4.io/RNS-Things/MeshChatX",
new FusesPlugin({ categories: ["Network"],
version: FuseVersion.V1, },
[FuseV1Options.RunAsNode]: false, },
[FuseV1Options.EnableCookieEncryption]: true, },
[FuseV1Options.EnableNodeOptionsEnvironmentVariable]: false, {
[FuseV1Options.EnableNodeCliInspectArguments]: false, name: "@electron-forge/maker-rpm",
[FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: true, config: {},
[FuseV1Options.OnlyLoadAppFromAsar]: true, },
}), {
], name: "@electron-forge/maker-flatpak",
config: {
options: {
categories: ["Network"],
runtime: "org.freedesktop.Platform",
runtimeVersion: "24.08",
sdk: "org.freedesktop.Sdk",
base: "org.electronjs.Electron2.BaseApp",
baseVersion: "24.08",
},
},
},
],
plugins: [
{
name: "@electron-forge/plugin-auto-unpack-natives",
config: {},
},
// Fuses are used to enable/disable various Electron functionality
// at package time, before code signing the application
new FusesPlugin({
version: FuseVersion.V1,
[FuseV1Options.RunAsNode]: false,
[FuseV1Options.EnableCookieEncryption]: true,
[FuseV1Options.EnableNodeOptionsEnvironmentVariable]: false,
[FuseV1Options.EnableNodeCliInspectArguments]: false,
[FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: true,
[FuseV1Options.OnlyLoadAppFromAsar]: true,
}),
],
}; };