mirror of
https://github.com/aunetx/deezer-linux.git
synced 2025-07-23 05:34:49 +02:00
commit
f6fb6f93e9
1
Makefile
1
Makefile
@ -33,6 +33,7 @@ prepare: clean install_build_deps
|
|||||||
@echo "Hide to tray when closing (https://github.com/SibrenVasse/deezer/issues/4)"
|
@echo "Hide to tray when closing (https://github.com/SibrenVasse/deezer/issues/4)"
|
||||||
@echo "Start in tray cli option (https://github.com/SibrenVasse/deezer/pull/12)"
|
@echo "Start in tray cli option (https://github.com/SibrenVasse/deezer/pull/12)"
|
||||||
@echo "Remove kernel version from User-Agent (https://github.com/aunetx/deezer-linux/pull/9)"
|
@echo "Remove kernel version from User-Agent (https://github.com/aunetx/deezer-linux/pull/9)"
|
||||||
|
@echo "Avoid to set the text/html mime type (https://github.com/aunetx/deezer-linux/issues/13)"
|
||||||
$(foreach p, $(wildcard ./patches/*), patch -p1 -dapp < $(p);)
|
$(foreach p, $(wildcard ./patches/*), patch -p1 -dapp < $(p);)
|
||||||
|
|
||||||
@echo "Append `package-append.json` to the `package.json` of the app"
|
@echo "Append `package-append.json` to the `package.json` of the app"
|
||||||
|
18
patches/avoid-change-default-texthtml-mime-type.patch
Normal file
18
patches/avoid-change-default-texthtml-mime-type.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
diff --git a/build/main.js b/build/main.js
|
||||||
|
index de51acb..e2c0b9e 100644
|
||||||
|
--- a/build/main.js
|
||||||
|
+++ b/build/main.js
|
||||||
|
@@ -2897,12 +2897,7 @@
|
||||||
|
this.tray.init(),
|
||||||
|
this.updater.init(),
|
||||||
|
this.network.watch(),
|
||||||
|
- this.powerSave.check(),
|
||||||
|
- this.deepLink.getSchemes().forEach((scheme) => {
|
||||||
|
- external_electron_namespaceObject.app.setAsDefaultProtocolClient(
|
||||||
|
- scheme
|
||||||
|
- );
|
||||||
|
- });
|
||||||
|
+ this.powerSave.check();
|
||||||
|
const dzrFilter = { urls: ["*://*/*"] },
|
||||||
|
DOMAINS_WHITELIST = [
|
||||||
|
"deezer.com",
|
Loading…
x
Reference in New Issue
Block a user