summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorAndrew Moore <andrewm.finewolf@gmail.com>2024-02-14 23:45:55 -0500
committerParty Wumpus <48649272+PartyWumpus@users.noreply.github.com>2024-02-20 21:39:43 +0000
commitc2ebc78836cafc96f03546e6dba5acfa86795d65 (patch)
tree0725e28b9af5f4ad3fce13f4ea35eeb87375ce50 /backend
parentdc1697d04961e1b413a43ad345c28e4fb3d5c03f (diff)
downloaddecky-loader-c2ebc78836cafc96f03546e6dba5acfa86795d65.tar.gz
decky-loader-c2ebc78836cafc96f03546e6dba5acfa86795d65.zip
[Feature] Freeze updates for devs (#582)
Diffstat (limited to 'backend')
-rw-r--r--backend/decky_loader/browser.py6
-rw-r--r--backend/locales/en-US.json2
2 files changed, 7 insertions, 1 deletions
diff --git a/backend/decky_loader/browser.py b/backend/decky_loader/browser.py
index 35b36911..def81011 100644
--- a/backend/decky_loader/browser.py
+++ b/backend/decky_loader/browser.py
@@ -289,12 +289,16 @@ class PluginBrowser:
Args:
name (string): The name of the plugin
"""
+ frozen_plugins = self.settings.getSetting("frozenPlugins", [])
+ if name in frozen_plugins:
+ frozen_plugins.remove(name)
+ self.settings.setSetting("frozenPlugins", frozen_plugins)
+
hidden_plugins = self.settings.getSetting("hiddenPlugins", [])
if name in hidden_plugins:
hidden_plugins.remove(name)
self.settings.setSetting("hiddenPlugins", hidden_plugins)
-
plugin_order = self.settings.getSetting("pluginOrder", [])
if name in plugin_order:
diff --git a/backend/locales/en-US.json b/backend/locales/en-US.json
index ea0542ca..ca18f7da 100644
--- a/backend/locales/en-US.json
+++ b/backend/locales/en-US.json
@@ -99,12 +99,14 @@
}
},
"PluginListIndex": {
+ "freeze": "Freeze updates",
"hide": "Quick access: Hide",
"no_plugin": "No plugins installed!",
"plugin_actions": "Plugin Actions",
"reinstall": "Reinstall",
"reload": "Reload",
"show": "Quick access: Show",
+ "unfreeze": "Allow updates",
"uninstall": "Uninstall",
"update_all_one": "Update 1 plugin",
"update_all_other": "Update {{count}} plugins",