mirror of
https://github.com/cucumber-sp/yandex-music-linux.git
synced 2024-12-23 22:22:59 +03:00
Fix repack
This commit is contained in:
parent
a0d8c449be
commit
d952c2af10
@ -28,7 +28,7 @@ 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
|
||||
@@ -42,6 +42,9 @@ Logger_js_1.Logger.setupLogger();
|
||||
@@ -46,6 +46,9 @@ Logger_js_1.Logger.setupLogger();
|
||||
(0, handleDeeplink_js_1.handleDeeplink)(window);
|
||||
(0, handleMetrikaRequests_js_1.handleMetrikaRequests)(window);
|
||||
(0, handleCrash_js_1.handleCrash)();
|
||||
@ -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
|
||||
@@ -29,9 +29,8 @@ const handleWindowLifecycleEvents = (window) => {
|
||||
@@ -28,9 +28,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();
|
||||
@@ -49,22 +48,11 @@ const handleWindowLifecycleEvents = (window) => {
|
||||
@@ -51,22 +50,11 @@ const handleWindowLifecycleEvents = (window) => {
|
||||
checkAndUpdateApplicationData(window);
|
||||
});
|
||||
window.on('close', (event) => {
|
||||
|
@ -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
|
||||
@@ -25,8 +25,6 @@ const createWindow = async () => {
|
||||
@@ -45,8 +45,6 @@ const createWindow = async () => {
|
||||
x: 16,
|
||||
y: 10
|
||||
},
|
||||
|
@ -84,7 +84,7 @@ done
|
||||
echo "Title Fixed"
|
||||
|
||||
echo "Replacing Icons"
|
||||
cp -drf "$SCRIPT_DIR/icons/." "./build/next-desktop/"
|
||||
cp -drf "$SCRIPT_DIR/icons/." "./app/"
|
||||
echo "Replaced Icons"
|
||||
|
||||
# applying patches
|
||||
@ -131,7 +131,7 @@ echo "Packing"
|
||||
cd "$curdir"
|
||||
asar pack "$TEMPDIR/app" "$dst/yandex-music.asar"
|
||||
for ext in png svg; do
|
||||
mv "$TEMPDIR/app/build/next-desktop/favicon.$ext" "$dst"
|
||||
mv "$TEMPDIR/app/app/favicon.$ext" "$dst"
|
||||
done
|
||||
python "$SCRIPT_DIR/utility/extract_release_notes.py" "$TEMPDIR/app/main/translations/compiled/ru.json" "$dst/release_notes.json"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user