0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2024-12-23 22:22:59 +03:00

Patch update

This commit is contained in:
Andrey Onishchenko 2024-09-24 02:04:46 +03:00
parent 44ca688869
commit a43659141b

View File

@ -1,14 +1,15 @@
diff --git a/main/config.js b/main/config.js diff --git a/main/config.js b/main/config.js
--- a/main/config.js --- a/main/config.js
+++ b/main/config.js +++ b/main/config.js
@@ -5,8 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) { @@ -4,9 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.applyCommonConfig = exports.config = void 0; exports.applyCommonConfig = exports.config = void 0;
const package_json_1 = __importDefault(require("../package.json"));
+const devTools = process.env.DEV_TOOLS && process.env.DEV_TOOLS > 0; +const devTools = process.env.DEV_TOOLS && process.env.DEV_TOOLS > 0;
const package_json_1 = __importDefault(require("../package.json"));
exports.config = { exports.config = {
- enableDevTools: false, - enableDevTools: false,
+ enableDevTools: devTools, + enableDevTools: devTools,
enableWebSecurity: true, enableWebSecurity: true,
enableAutoUpdate: true, enableAutoUpdate: true,
bypassCSP: false, enableUpdateByProbability: false,