mirror of
https://github.com/aunetx/deezer-linux.git
synced 2025-12-12 16:24:31 +01:00
feat(patch): update patch 12
This commit is contained in:
parent
8ce61249fe
commit
60b57d9ade
@ -1,7 +1,7 @@
|
|||||||
From a220daa47a06d19ff6a995d567c0f46e42d14f6b Mon Sep 17 00:00:00 2001
|
From 6c90e3940ddb1053e2f705a96edb83d17249e77a Mon Sep 17 00:00:00 2001
|
||||||
From: josselinonduty <contact@josselinonduty.fr>
|
From: josselinonduty <contact@josselinonduty.fr>
|
||||||
Date: Tue, 8 Jul 2025 14:37:23 +0200
|
Date: Mon, 1 Dec 2025 14:15:09 +0100
|
||||||
Subject: [PATCH] feat(patch): disable animations (cli/env)
|
Subject: [PATCH] feat: disable animations
|
||||||
|
|
||||||
---
|
---
|
||||||
build/index.html | 6 ++++++
|
build/index.html | 6 ++++++
|
||||||
@ -10,7 +10,7 @@ Subject: [PATCH] feat(patch): disable animations (cli/env)
|
|||||||
3 files changed, 13 insertions(+)
|
3 files changed, 13 insertions(+)
|
||||||
|
|
||||||
diff --git a/build/index.html b/build/index.html
|
diff --git a/build/index.html b/build/index.html
|
||||||
index 4be829c..2ef7709 100644
|
index 4695231..c2cabd6 100644
|
||||||
--- a/build/index.html
|
--- a/build/index.html
|
||||||
+++ b/build/index.html
|
+++ b/build/index.html
|
||||||
@@ -92,6 +92,12 @@
|
@@ -92,6 +92,12 @@
|
||||||
@ -27,34 +27,34 @@ index 4be829c..2ef7709 100644
|
|||||||
</head>
|
</head>
|
||||||
<body class="electron">
|
<body class="electron">
|
||||||
diff --git a/build/main.js b/build/main.js
|
diff --git a/build/main.js b/build/main.js
|
||||||
index 8fa4b6f..61028cd 100644
|
index 8953617..69a734d 100644
|
||||||
--- a/build/main.js
|
--- a/build/main.js
|
||||||
+++ b/build/main.js
|
+++ b/build/main.js
|
||||||
@@ -3246,6 +3246,9 @@
|
@@ -3076,6 +3076,9 @@
|
||||||
(process.argv.some((arg) => arg === "--hide-appoffline-banner") ||
|
(process.argv.some((arg) => arg === "--hide-offline-banner") ||
|
||||||
"yes" === process.env.DZ_HIDE_APPOFFLINE_BANNER) &&
|
"yes" === process.env.DZ_HIDE_OFFLINE_BANNER) &&
|
||||||
"--hide-appoffline-banner",
|
"--hide-offline-banner",
|
||||||
+ (process.argv.some((arg) => arg === "--disable-animations") ||
|
+ (process.argv.some((arg) => arg === "--disable-animations") ||
|
||||||
+ "yes" === process.env.DZ_DISABLE_ANIMATIONS) &&
|
+ "yes" === process.env.DZ_DISABLE_ANIMATIONS) &&
|
||||||
+ "--disable-animations",
|
+ "--disable-animations",
|
||||||
].filter(Boolean),
|
].filter(Boolean),
|
||||||
},
|
},
|
||||||
windowOptions = {
|
windowOptions = {
|
||||||
diff --git a/build/preload.js b/build/preload.js
|
diff --git a/build/preload.js b/build/preload.js
|
||||||
index 05939c4..0df9150 100644
|
index 80dced7..4f72387 100644
|
||||||
--- a/build/preload.js
|
--- a/build/preload.js
|
||||||
+++ b/build/preload.js
|
+++ b/build/preload.js
|
||||||
@@ -542,6 +542,10 @@
|
@@ -531,6 +531,10 @@
|
||||||
document
|
document
|
||||||
.getElementsByTagName("body")[0]
|
.getElementsByTagName("body")[0]
|
||||||
.classList.add("hide-AppOffline-banner");
|
.classList.add("hide-offline-banner");
|
||||||
+ if (process.argv.some((arg) => arg === "--disable-animations"))
|
+ if (process.argv.some((arg) => arg === "--disable-animations"))
|
||||||
+ document
|
+ document
|
||||||
+ .getElementsByTagName("body")[0]
|
+ .getElementsByTagName("body")[0]
|
||||||
+ .classList.add("disable-animations");
|
+ .classList.add("disable-animations");
|
||||||
});
|
}),
|
||||||
})(),
|
(module.exports = {});
|
||||||
(module.exports = __webpack_exports__);
|
})();
|
||||||
--
|
--
|
||||||
2.48.1
|
2.48.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user