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

Ship from sed and jq to applying patches

Change-Id: I4739feb75997d1b6f76af4deccb6f8a38e2d1e39
This commit is contained in:
Yury Shvedov
2024-02-09 17:25:54 +03:00
parent 1f0975300f
commit b751cba90b
7 changed files with 100 additions and 25 deletions

View File

@@ -0,0 +1,15 @@
diff --git a/package.json b/package.json
index 5844bdb..c1bab0e 100644
--- a/package.json
+++ b/package.json
@@ -39,5 +39,6 @@
"COPYRIGHT": "Яндекс Музыка",
"TRADEMARK": "Яндекс Музыка",
"DEEPLINK_PROTOCOL": "yandexmusic"
- }
+ },
+ "license": "UNLICENSED"
}
--
2.42.0

View File

@@ -0,0 +1,18 @@
diff --git a/package.json b/package.json
index c1bab0e..d66268b 100644
--- a/package.json
+++ b/package.json
@@ -40,5 +40,9 @@
"TRADEMARK": "Яндекс Музыка",
"DEEPLINK_PROTOCOL": "yandexmusic"
},
- "license": "UNLICENSED"
+ "license": "UNLICENSED",
+ "icon": {
+ "48x48": "build/next-desktop/favicon.png",
+ "scalable": "build/next-desktop/favicon.svg"
+ }
}
--
2.42.0

View File

@@ -0,0 +1,15 @@
diff --git a/main/lib/handlers/handleWindowLifecycleEvents.js b/main/lib/handlers/handleWindowLifecycleEvents.js
index 269d1f6..ff744b4 100644
--- a/main/lib/handlers/handleWindowLifecycleEvents.js
+++ b/main/lib/handlers/handleWindowLifecycleEvents.js
@@ -36,6 +36,7 @@ const handleWindowLifecycleEvents = (window) => {
checkAndUpdateApplicationData(window);
});
window.on('close', (event) => {
+ electron_1.app.quit();
if (!state_js_1.state.willQuit) {
event.preventDefault();
if (window.isFullScreen()) {
--
2.42.0

View File

@@ -0,0 +1,13 @@
diff --git a/main/lib/createWindow.js b/main/lib/createWindow.js
index 771e24c..e3794a7 100644
--- a/main/lib/createWindow.js
+++ b/main/lib/createWindow.js
@@ -16,8 +16,6 @@ const createWindow = async () => {
x: 16,
y: 10
},
- minWidth: 1024,
- minHeight: 800,
width: 1280,
height: 800,
webPreferences: {