refactor: remove autoUpdate feature from configuration and UI

This commit is contained in:
MasterAcnolo
2026-10-07 19:24:47 +02:00
parent ea3a475525
commit 773ed9550d
7 changed files with 1 additions and 15 deletions

View File

@@ -225,7 +225,6 @@ Freedom Loader can be configured either through the settings panel in the UI or
### Available Options
```json
{
"autoUpdate": true,
"systemTray": true,
"discordRPC": true,
"autoCheckInfo": true,
@@ -250,7 +249,6 @@ Freedom Loader can be configured either through the settings panel in the UI or
| Option | Type | Default | Description |
|------------------------------|---------|----------|------------------------------------------------------------|
| `autoUpdate` | boolean | `true` | Enable automatic application updates |
| `systemTray` | boolean | `false` | Allow app to minimize on close |
| `discordRPC` | boolean | `true` | Enable Discord Rich Presence integration |
| `autoCheckInfo` | boolean | `true` | Automatically fetch video information on URL paste |

View File

@@ -30,7 +30,6 @@ const { getChangelog, markChangelogSeen } = require("./changelogManager");
* Acts as a basic validation layer for IPC "set-feature".
*/
const FEATURE_WHITELIST = new Set([
"autoUpdate",
"systemTray",
"discordRPC",
"autoCheckInfo",

View File

@@ -1,5 +1,4 @@
{
"autoUpdate": true,
"systemTray": false,
"discordRPC": true,
"autoCheckInfo": true,

View File

@@ -173,7 +173,7 @@ app.whenReady().then(async () => {
if (configFeatures.discordRPC) startRPC();
if (configFeatures.autoUpdate) initAutoUpdater(getMainWindow());
initAutoUpdater(getMainWindow());
} catch (err) {
logger.error("Boot error:", err);

View File

@@ -123,14 +123,6 @@
<details class="settings-section">
<summary>Advanced Settings</summary>
<div class="setting-item">
<input type="checkbox" data-key="autoUpdate" id="autoUpdate">
<div class="setting-info">
<span class="setting-title">Auto Update</span>
<small>Enable automatic app updates.</small>
</div>
</div>
<div class="setting-item">
<input type="checkbox" data-key="showChanglogsAfterUpdate" id="showChanglogsAfterUpdate">
<div class="setting-info">

View File

@@ -67,7 +67,6 @@ function buildYtDlpArgs({url, audioOnly, quality, outputFolder, isPlaylist}) {
logger.info("--- CONFIGURATION ---");
logger.info(`CONFIG autoUpdate: ${configFeatures.autoUpdate}`);
logger.info(`CONFIG discordRPC: ${configFeatures.discordRPC}`);
logger.info(`CONFIG autoCheckInfo: ${configFeatures.autoCheckInfo}`);
logger.info(`CONFIG keepPlaylistOrder: ${configFeatures.keepPlaylistOrder}`);

View File

@@ -11,7 +11,6 @@ jest.mock("../../server/helpers/path.helpers.js", () => ({
jest.mock("../../config.js", () => ({
configFeatures: {
autoUpdate: false,
discordRPC: false,
customTopBar: false,
autoCheckInfo: false,