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-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/package.json b/package.json
--- a/package.json
+++ b/package.json
@@ -39,5 +39,6 @@
@@ -42,5 +42,6 @@
"COPYRIGHT": "Яндекс Музыка",
"TRADEMARK": "Яндекс Музыка",
"DEEPLINK_PROTOCOL": "yandexmusic"
@ -9,3 +9,4 @@ diff --git a/package.json b/package.json
+ },
+ "license": "UNLICENSED"
}

View File

@ -1,7 +1,7 @@
diff --git a/package.json b/package.json
--- a/package.json
+++ b/package.json
@@ -40,5 +40,9 @@
@@ -43,5 +43,9 @@
"TRADEMARK": "Яндекс Музыка",
"DEEPLINK_PROTOCOL": "yandexmusic"
},
@ -10,5 +10,6 @@ diff --git a/package.json b/package.json
+ "icon": {
+ "48x48": "build/next-desktop/favicon.png",
+ "scalable": "build/next-desktop/favicon.svg"
+ }
+ }
}

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;

View File

@ -1,7 +1,7 @@
diff --git a/main/lib/createWindow.js b/main/lib/createWindow.js
--- a/main/lib/createWindow.js
+++ b/main/lib/createWindow.js
@@ -16,8 +16,6 @@ const createWindow = async () => {
@@ -25,8 +25,6 @@ const createWindow = async () => {
x: 16,
y: 10
},