mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
PluginSystem: use cache busting for settings too, so they are always fresh when using debug mode.
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user