mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-09 00:21:56 -07:00
hyprpm: Fix crashes due to misplaced fmt argument(s) (#8140)
This commit is contained in:
@@ -697,7 +697,7 @@ bool CPluginManager::updatePlugins(bool forceUpdateAll) {
|
|||||||
" This likely means that the plugin is either outdated, not yet available for your version, or broken.\n"
|
" This likely means that the plugin is either outdated, not yet available for your version, or broken.\n"
|
||||||
"If you are on -git, update first.\n"
|
"If you are on -git, update first.\n"
|
||||||
"Try re-running with -v to see more verbose output.",
|
"Try re-running with -v to see more verbose output.",
|
||||||
failureString("Plugin {} failed to build."));
|
failureString("Plugin {} failed to build.", p.name));
|
||||||
p.failed = true;
|
p.failed = true;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -839,7 +839,7 @@ ePluginLoadStateReturn CPluginManager::ensurePluginsLoadState() {
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
loadUnloadPlugin(HYPRPMPATH + repoForName(p.name) + "/" + p.filename, true);
|
loadUnloadPlugin(HYPRPMPATH + repoForName(p.name) + "/" + p.filename, true);
|
||||||
std::println("{}", successString("Loaded {}"), p.name);
|
std::println("{}", successString("Loaded {}", p.name));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user