diff --git a/Makefile b/Makefile index 422a04c..3c92291 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ prepare: clean install_build_deps @echo "07 - Add environment variable to change log level (https://github.com/aunetx/deezer-linux/pull/95)" @echo "08 - Provide additional metadata (https://github.com/aunetx/deezer-linux/pull/95)" @echo "09 - Add Discord Rich Presence (https://github.com/aunetx/deezer-linux/pull/82)" - @echo "10 - Improve responsiveness on small devices (https://github.com/aunetx/deezer-linux/pull/107)" + @echo "10 - Improve responsiveness on small devices (https://github.com/aunetx/deezer-linux/pull/122)" @$(foreach p, $(wildcard ./patches/*), patch -p 1 -d $(APP_DIR) < $(p);) @echo "Append `package-append.json` to the `package.json` of the app" diff --git a/patches/10-improve-responsiveness.patch b/patches/10-improve-responsiveness.patch index 0dcc8cb..9b2866e 100644 --- a/patches/10-improve-responsiveness.patch +++ b/patches/10-improve-responsiveness.patch @@ -1,35 +1,113 @@ -From 46f790ebaf646c5cd0e34c2aa72196e033e0646d Mon Sep 17 00:00:00 2001 -From: josselinonduty -Date: Wed, 14 May 2025 17:15:31 +0900 +From 33ed1cce4b8831fc6412ca482d9867a9dff9ffec Mon Sep 17 00:00:00 2001 +From: Aurélien Hamy +Date: Thu, 22 May 2025 15:50:44 +0200 Subject: [PATCH] feat: improve responsiveness on small devices +Based on patch by josselinonduty +Makes it possible to use the application for with a width as low as 550 pixels +without problems, and is usable even below. Should not change anything for +devices larger than 950 pixels, and nearly nothing above 800 pixels wide. --- - build/index.html | 9 +++++++++ - build/main.js | 4 ++-- - 2 files changed, 11 insertions(+), 2 deletions(-) + build/index.html | 83 ++++++++++++++++++++++++++++++++++++++++++++++++ + build/main.js | 4 +-- + 2 files changed, 85 insertions(+), 2 deletions(-) diff --git a/build/index.html b/build/index.html -index 8016bc8..82f692e 100644 +index 8016bc8..4efcd23 100644 --- a/build/index.html +++ b/build/index.html -@@ -4,6 +4,15 @@ +@@ -4,6 +4,89 @@ Deezer +
diff --git a/build/main.js b/build/main.js -index ddfc552..136f0e7 100644 +index 22b50ff..99935cb 100644 --- a/build/main.js +++ b/build/main.js @@ -3169,8 +3169,8 @@ @@ -44,5 +122,5 @@ index ddfc552..136f0e7 100644 getAppIcon(external_electron_namespaceObject.app) ), -- -2.43.0 +2.49.0