0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2025-09-28 01:29:03 +03:00

Update patches and repack script

This commit is contained in:
Andrey Onishchenko
2024-12-06 23:06:35 +03:00
parent 9cd5cdb864
commit 8767a74c0e
7 changed files with 19 additions and 118 deletions

View File

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