PluginSystem: use cache busting for settings too, so they are always fresh when using debug mode.

This commit is contained in:
Lemmy
2025-12-28 09:41:36 -05:00
parent f388409326
commit fb7c2383ff
+3 -2
View File
@@ -123,9 +123,10 @@ Popup {
// Get plugin directory
var pluginDir = PluginRegistry.getPluginDir(pluginManifest.id);
var settingsPath = pluginDir + "/" + pluginManifest.entryPoints.settings;
var loadVersion = PluginRegistry.pluginLoadVersions[pluginManifest.id] || 0;
// Load settings component
settingsLoader.setSource("file://" + settingsPath, {
// Load settings component (use version counter to avoid caching)
settingsLoader.setSource("file://" + settingsPath + "?v=" + loadVersion, {
"pluginApi": currentPluginApi
});