mirror of
https://github.com/aunetx/deezer-linux.git
synced 2025-07-22 21:24:41 +02:00
fix: revert default kernel to 6.1 and enable privacy by default
This commit is contained in:
parent
84fcee0eac
commit
311631902b
14
README.md
14
README.md
@ -36,13 +36,13 @@ Other packages can be installed from you package manager, either by clicking on
|
||||
|
||||
## Usage
|
||||
|
||||
| Option | Description |
|
||||
| ---------------------- | -------------------------------------------------------------------------------------- |
|
||||
| `--start-in-tray` | Start the app in the tray (see [patch](./patches/01-start-hidden-in-tray.patch)) |
|
||||
| `--disable-systray` | Quit the app when the window is closed (see [patch](./patches/03-quit.patch)) |
|
||||
| `--hide-kernel` | Hide the exact kernel version (see [patch](./patches/05-remove-os-information.patch)) |
|
||||
| `--disable-features` | Disable some features (see [patch](./patches/06-better-management-of-MPRIS.patch)) |
|
||||
| `--enable-discord-rpc` | Enable Discord RPC integration (see [patch](./patches/09-discord-rich-presence.patch)) |
|
||||
| Option | Description |
|
||||
| ---------------------- | -------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `--start-in-tray` | Start the app in the tray (see [patch](./patches/01-start-hidden-in-tray.patch)) |
|
||||
| `--disable-systray` | Quit the app when the window is closed (see [patch](./patches/03-quit.patch)) |
|
||||
| `--keep-kernel` | Use the exact kernel version (see [patch](./patches/05-remove-os-information.patch)) <br/> _This feature impacts privacy._ |
|
||||
| `--disable-features` | Disable some features (see [patch](./patches/06-better-management-of-MPRIS.patch)) |
|
||||
| `--enable-discord-rpc` | Enable Discord RPC integration (see [patch](./patches/09-discord-rich-presence.patch)) |
|
||||
|
||||
| Environment variable | Options | Description |
|
||||
| -------------------- | -------------------------------------------------- | ---------------------------------------------------------------------------------- |
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 9250fb3bf514256f68ad844b53e7345b2efc4b37 Mon Sep 17 00:00:00 2001
|
||||
From: josselinonduty <contact@josselinonduty.fr>
|
||||
Date: Mon, 21 Apr 2025 01:08:23 +0900
|
||||
Subject: [PATCH] fix: ensure os release is valid; add cli argument to hide
|
||||
Subject: [PATCH] fix: ensure os release is valid; add cli argument to use
|
||||
exact kernel version
|
||||
|
||||
Original patch: Dorian Stoll <dorian.stoll@tmsp.io>
|
||||
@ -33,7 +33,7 @@ index a667632..e03556c 100644
|
||||
+ var __module_os = require("os");
|
||||
+ const release = __module_os.release();
|
||||
+ __module_os.release = () => {
|
||||
+ if (process.argv.some((arg) => arg === "--hide-kernel"))
|
||||
+ if (!process.argv.some((arg) => arg === "--keep-kernel"))
|
||||
+ return "6.1.0";
|
||||
+
|
||||
+ const matcher = /(\d+\.\d+\.\d+)\.*/;
|
||||
@ -56,7 +56,7 @@ index 4029c6d..f625122 100644
|
||||
+ var __module_os = require("os");
|
||||
+ const release = __module_os.release();
|
||||
+ __module_os.release = () => {
|
||||
+ if (process.argv.some((arg) => arg === "--hide-kernel"))
|
||||
+ if (!process.argv.some((arg) => arg === "--keep-kernel"))
|
||||
+ return "6.1.0";
|
||||
+
|
||||
+ const matcher = /(\d+\.\d+\.\d+)\.*/;
|
||||
@ -79,7 +79,7 @@ index ca6c307..24b119f 100644
|
||||
+ var __module_os = require("os");
|
||||
+ const release = __module_os.release();
|
||||
+ __module_os.release = () => {
|
||||
+ if (process.argv.some((arg) => arg === "--hide-kernel"))
|
||||
+ if (!process.argv.some((arg) => arg === "--keep-kernel"))
|
||||
+ return "6.1.0";
|
||||
+
|
||||
+ const matcher = /(\d+\.\d+\.\d+)\.*/;
|
||||
@ -102,7 +102,7 @@ index 5414c90..4f3c6a3 100644
|
||||
+ var __module_os = require("os");
|
||||
+ const release = __module_os.release();
|
||||
+ __module_os.release = () => {
|
||||
+ if (process.argv.some((arg) => arg === "--hide-kernel"))
|
||||
+ if (!process.argv.some((arg) => arg === "--keep-kernel"))
|
||||
+ return "6.1.0";
|
||||
+
|
||||
+ const matcher = /(\d+\.\d+\.\d+)\.*/;
|
||||
|
Loading…
x
Reference in New Issue
Block a user