mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 19:12:27 +08:00
fix(forge): allow local building by ignoring the signing options
This commit is contained in:
parent
9aef24eecc
commit
6f26f4d798
@ -10,9 +10,9 @@ const baseLinuxMakerConfigOptions = {
|
|||||||
desktopTemplate: path.resolve(path.join(BIN_PATH, "desktop.ejs")),
|
desktopTemplate: path.resolve(path.join(BIN_PATH, "desktop.ejs")),
|
||||||
categories: ["Office", "Utility"]
|
categories: ["Office", "Utility"]
|
||||||
};
|
};
|
||||||
const windowsSignConfiguration = {
|
const windowsSignConfiguration = process.env.WINDOWS_SIGN_EXECUTABLE ? {
|
||||||
hookModulePath: path.join(BIN_PATH, "sign-windows.cjs")
|
hookModulePath: path.join(BIN_PATH, "sign-windows.cjs")
|
||||||
}
|
} : undefined;
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
// we run electron-forge inside the ./build folder,
|
// we run electron-forge inside the ./build folder,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user