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

Refresh patches

This commit is contained in:
Andrey Onishchenko 2024-08-04 23:52:48 +03:00
parent 38300dcb1f
commit 3faca83173
4 changed files with 5 additions and 22 deletions

View File

@ -1,7 +1,7 @@
diff --git a/package.json b/package.json
--- a/package.json
+++ b/package.json
@@ -51,5 +51,6 @@
@@ -50,5 +50,6 @@
"kk",
"az"
]
@ -9,4 +9,3 @@ diff --git a/package.json b/package.json
+ },
+ "license": "UNLICENSED"
}

View File

@ -1,15 +0,0 @@
diff --git a/package.json b/package.json
--- a/package.json
+++ b/package.json
@@ -52,5 +52,9 @@
"az"
]
},
- "license": "UNLICENSED"
+ "license": "UNLICENSED",
+ "icon": {
+ "48x48": "build/next-desktop/favicon.png",
+ "scalable": "build/next-desktop/favicon.svg"
+ }
}

View File

@ -43,7 +43,7 @@ diff --git a/main/index.js b/main/index.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
@@ -28,9 +28,8 @@ const handleWindowLifecycleEvents = (window) => {
@@ -31,9 +31,8 @@ const handleWindowLifecycleEvents = (window) => {
state_js_1.state.willQuit = true;
});
electron_1.app.on('window-all-closed', () => {
@ -55,7 +55,7 @@ diff --git a/main/lib/handlers/handleWindowLifecycleEvents.js b/main/lib/handler
});
electron_1.app.on('browser-window-blur', () => {
setBlurredTime();
@@ -51,22 +50,11 @@ const handleWindowLifecycleEvents = (window) => {
@@ -54,22 +53,11 @@ const handleWindowLifecycleEvents = (window) => {
checkAndUpdateApplicationData(window);
});
window.on('close', (event) => {
@ -80,6 +80,5 @@ diff --git a/main/lib/handlers/handleWindowLifecycleEvents.js b/main/lib/handler
- }
+ (0, createWindow_js_1.toggleWindowVisibility)(window, false);
});
};
exports.handleWindowLifecycleEvents = handleWindowLifecycleEvents;
const webContents = window.webContents;
webContents.on('did-fail-load', (event, errorCode, errorDescription, validatedUrl) => {