2024-08-05 00:04:05 +03:00
|
|
|
diff --git a/main/config.js b/main/config.js
|
|
|
|
--- a/main/config.js
|
|
|
|
+++ b/main/config.js
|
2024-09-24 02:04:46 +03:00
|
|
|
@@ -4,9 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
|
};
|
2024-08-05 00:04:05 +03:00
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
|
exports.applyCommonConfig = exports.config = void 0;
|
|
|
|
+const devTools = process.env.DEV_TOOLS && process.env.DEV_TOOLS > 0;
|
2024-09-24 02:04:46 +03:00
|
|
|
const package_json_1 = __importDefault(require("../package.json"));
|
2024-08-05 00:04:05 +03:00
|
|
|
exports.config = {
|
|
|
|
- enableDevTools: false,
|
|
|
|
+ enableDevTools: devTools,
|
|
|
|
enableWebSecurity: true,
|
|
|
|
enableAutoUpdate: true,
|
2024-10-03 19:07:27 +03:00
|
|
|
enableUpdateByProbability: true,
|