diff options
author | Vaxry <[email protected]> | 2024-04-05 00:23:05 +0100 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-04-05 00:23:05 +0100 |
commit | 51b3148f097f7cd371622aff5c144ca6ccbeda92 (patch) | |
tree | 647d890527d8f86df87ec7d8c583e78264f49521 /hyprpm/src/core/PluginManager.cpp | |
parent | 1454c6213e53600c6af841f6ec8116ab0e4a7d11 (diff) | |
download | Hyprland-51b3148f097f7cd371622aff5c144ca6ccbeda92.tar.gz Hyprland-51b3148f097f7cd371622aff5c144ca6ccbeda92.zip |
hyprpm: print more info on build failures
Diffstat (limited to 'hyprpm/src/core/PluginManager.cpp')
-rw-r--r-- | hyprpm/src/core/PluginManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hyprpm/src/core/PluginManager.cpp b/hyprpm/src/core/PluginManager.cpp index 9f0a54e0..956c0612 100644 --- a/hyprpm/src/core/PluginManager.cpp +++ b/hyprpm/src/core/PluginManager.cpp @@ -225,7 +225,7 @@ bool CPluginManager::addNewPluginRepo(const std::string& url, const std::string& std::cout << Colors::BLUE << "[v] " << Colors::RESET << "shell returned: " << out << "\n"; if (!std::filesystem::exists("/tmp/hyprpm/new/" + p.output)) { - progress.printMessageAbove(std::string{Colors::RED} + "✖" + Colors::RESET + " Plugin " + p.name + " failed to build.\n"); + progress.printMessageAbove(std::string{Colors::RED} + "✖" + Colors::RESET + " Plugin " + p.name + " failed to build.\n" << " This likely means that the plugin is either outdated, not yet available for your version, or broken.\n Try re-running with -v to see more verbose output.\n"); p.failed = true; @@ -591,7 +591,7 @@ bool CPluginManager::updatePlugins(bool forceUpdateAll) { std::cout << Colors::BLUE << "[v] " << Colors::RESET << "shell returned: " << out << "\n"; if (!std::filesystem::exists("/tmp/hyprpm/update/" + p.output)) { - std::cerr << "\n" << Colors::RED << "✖" << Colors::RESET << " Plugin " << p.name << " failed to build.\n"; + std::cerr << "\n" << Colors::RED << "✖" << Colors::RESET << " Plugin " << p.name << " failed to build.\n" << " This likely means that the plugin is either outdated, not yet available for your version, or broken.\n Try re-running with -v to see more verbose output.\n"; failed = true; break; } |