fix(forge): allow local building by ignoring the signing options

This commit is contained in:
Elian Doran 2025-03-24 17:53:04 +02:00
parent 9aef24eecc
commit 6f26f4d798
No known key found for this signature in database

View File

@ -10,9 +10,9 @@ const baseLinuxMakerConfigOptions = {
desktopTemplate: path.resolve(path.join(BIN_PATH, "desktop.ejs")),
categories: ["Office", "Utility"]
};
const windowsSignConfiguration = {
const windowsSignConfiguration = process.env.WINDOWS_SIGN_EXECUTABLE ? {
hookModulePath: path.join(BIN_PATH, "sign-windows.cjs")
}
} : undefined;
module.exports = {
// we run electron-forge inside the ./build folder,