Skip to content

Commit

Permalink
change repo URL in plugin manager (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-moon authored and 3l0w committed Jan 9, 2025
1 parent a94d9de commit 33972b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hyprpm/src/core/PluginManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ bool CPluginManager::updateHeaders(bool force) {
return false;
}

progress.printMessageAbove(statusString("!", Colors::YELLOW, "Cloning https://github.com/hyprwm/Hyprland, this might take a moment."));
progress.printMessageAbove(statusString("!", Colors::YELLOW, "Cloning https://github.com/3l0w/Hyprland, this might take a moment."));

const bool bShallow = (HLVER.branch == "main") && !m_bNoShallow;

Expand All @@ -474,12 +474,12 @@ bool CPluginManager::updateHeaders(bool force) {
if (m_bVerbose && bShallow)
progress.printMessageAbove(verboseString("will shallow since: {}", SHALLOW_DATE));

std::string ret = execAndGet(std::format("cd {} && git clone --recursive https://github.com/hyprwm/Hyprland hyprland-{}{}", getTempRoot(), USERNAME,
std::string ret = execAndGet(std::format("cd {} && git clone --recursive https://github.com/3l0w/Hyprland hyprland-{}{}", getTempRoot(), USERNAME,
(bShallow ? " --shallow-since='" + SHALLOW_DATE + "'" : "")));

if (!std::filesystem::exists(WORKINGDIR)) {
progress.printMessageAbove(failureString("Clone failed. Retrying without shallow."));
ret = execAndGet(std::format("cd {} && git clone --recursive https://github.com/hyprwm/hyprland hyprland-{}", getTempRoot(), USERNAME));
ret = execAndGet(std::format("cd {} && git clone --recursive https://github.com/3l0w/hyprland hyprland-{}", getTempRoot(), USERNAME));
}

if (!std::filesystem::exists(WORKINGDIR + "/.git")) {
Expand Down

0 comments on commit 33972b5

Please sign in to comment.