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

Update patches

This commit is contained in:
Andrey Onishchenko 2024-10-03 19:07:27 +03:00
parent dd3227aa76
commit 9feff7b064
3 changed files with 5 additions and 5 deletions

View File

@ -1,9 +1,9 @@
diff --git a/package.json b/package.json
--- a/package.json
+++ b/package.json
@@ -50,5 +50,6 @@
@@ -49,5 +49,6 @@
"kk",
"az"
"uz"
]
- }
+ },

View File

@ -28,9 +28,9 @@ diff --git a/main/lib/createTray.js b/main/lib/createTray.js
diff --git a/main/index.js b/main/index.js
--- a/main/index.js
+++ b/main/index.js
@@ -46,6 +46,9 @@ Logger_js_1.Logger.setupLogger();
(0, handleDeeplink_js_1.handleDeeplink)(window);
@@ -48,6 +48,9 @@ Logger_js_1.Logger.setupLogger();
(0, handleMetrikaRequests_js_1.handleMetrikaRequests)(window);
(0, handleFrames_js_1.handleFrames)(window);
(0, handleCrash_js_1.handleCrash)();
+ const {createTray} = require('./lib/createTray.js');
+ const trayEnabled = process.env.TRAY_ENABLED && process.env.TRAY_ENABLED > 0;

View File

@ -12,4 +12,4 @@ diff --git a/main/config.js b/main/config.js
+ enableDevTools: devTools,
enableWebSecurity: true,
enableAutoUpdate: true,
enableUpdateByProbability: false,
enableUpdateByProbability: true,