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

Update patches

This commit is contained in:
Andrey Onishchenko
2024-04-27 20:40:19 +03:00
parent 8c7f4a7ce5
commit e265ecb08c
4 changed files with 13 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
diff --git a/./app/main/lib/createTray.js b/./app1/main/lib/createTray.js
diff --git a/main/lib/createTray.js b/main/lib/createTray.js
--- a/main/lib/createTray.js
+++ b/main/lib/createTray.js
@@ -0,0 +1,20 @@
@@ -0,0 +1,21 @@
+const { app, Menu, Tray, nativeImage } = require('electron');
+const path = require('path');
+
@@ -22,6 +22,7 @@ diff --git a/./app/main/lib/createTray.js b/./app1/main/lib/createTray.js
+}
+
+exports.createTray = createTray;
+
diff --git a/main/index.js b/main/index.js
@@ -38,7 +39,8 @@ diff --git a/main/index.js b/main/index.js
(0, handleExternalLink_js_1.handleExternalLink)(window);
(0, logger_js_1.logWindowLifecycle)(window);
diff --git a/./app/main/lib/handlers/handleWindowLifecycleEvents.js b/./app1/main/lib/handlers/handleWindowLifecycleEvents.js
diff --git a/main/lib/handlers/handleWindowLifecycleEvents.js b/main/lib/handlers/handleWindowLifecycleEvents.js
--- a/main/lib/handlers/handleWindowLifecycleEvents.js
+++ b/main/lib/handlers/handleWindowLifecycleEvents.js
@@ -29,9 +29,8 @@ const handleWindowLifecycleEvents = (window) => {
@@ -79,4 +81,5 @@ diff --git a/./app/main/lib/handlers/handleWindowLifecycleEvents.js b/./app1/mai
+ (0, createWindow_js_1.toggleWindowVisibility)(window, false);
});
};
exports.handleWindowLifecycleEvents = handleWindowLifecycleEvents;
exports.handleWindowLifecycleEvents = handleWindowLifecycleEvents;