summaryrefslogtreecommitdiff
path: root/hyprpm/src/helpers/Sys.cpp
Commit message (Collapse)AuthorAgeFilesLines
* hyprpm: add full nix integration (#13189)Vaxry2026-02-101-3/+7
| | | | | | | Adds nix integration to hyprpm: hyprpm will now detect nix'd hyprland and use nix develop instead --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* internal: Fix compilation with libc++ (#11355)Sv. Lockal2025-08-061-0/+1
| | | | | | | | | | | | | Build with libc++ (Clang-20, Gentoo LLVM profile) fails due to transitive include with: ``` s_Sys.cpp.o -c ../hyprland-source/hyprpm/src/helpers/Sys.cpp ../hyprland-source/hyprpm/src/helpers/Sys.cpp:24:24: error: implicit instantiation of undefined template 'std::basic_ostringstream<char>' 24 | std::ostringstream oss; | ^ /usr/include/c++/v1/__fwd/sstream.h:28:28: note: template is declared here 28 | class _LIBCPP_TEMPLATE_VIS basic_ostringstream; | ^ 1 error generated. ```
* hyprpm: switch to numeric owner/group after f8bbe5124c00 (#10345)Jan Beich2025-05-091-1/+1
| | | | | | | | | | On BSDs "root" is in "wheel" group. Instead of enumerating platforms or probing "wheel" explicitly use numeric value for the superuser. $ truss hyprpm add <url> [...] read(5,"install: unknown group root\n",1023) = 28 (0x1c) [...] [ERR] ✖ Failed to write plugin state
* hyprpm: add missing include for libc++ after 1c530cbc66db (#10344)Jan Beich2025-05-091-0/+1
| | | | | | | | | hyprpm/src/helpers/Sys.cpp:24:24: error: implicit instantiation of undefined temp late 'std::basic_ostringstream<char>' 24 | std::ostringstream oss; | ^ /usr/include/c++/v1/__fwd/sstream.h:27:28: note: template is declared here 27 | class _LIBCPP_TEMPLATE_VIS basic_ostringstream; | ^
* hyprpm: clean up root access and properly check input (#10304)Vaxry2025-05-061-38/+82
| | | | | * manifest: reject bad names from parsing * sys: restructure root functions
* hyprpm: add missing return (#10299)Zebra27112025-05-061-0/+1
| | | | | | | Add a missing return statement after handling the first superuser binary in the `dropSudo` function Fixes: 1c530cb Co-authored-by: Zebra2711 <zebra2711@users.noreply.github.com>
* hyprpm: wrap sudo cmd in quotesVaxry2025-05-051-1/+1
| | | | ref #10288
* hyprpm: Minor optimizations and refactor of helpers and progress bar (#10246)s1dd2025-05-051-36/+48
| | | | | | | | | | | | | | | * hyprpm: optimize sys.cpp * hyprpm: refine progress bar logic * chore: fix fetchSuperuserBins * chore: modify one line if/else statements * chore: fix if/else statements * chore: follow naming convention for const vars * chore: revert shell escape logic
* hyprpm: move to system directories for storing plugins (#10211)Vaxry2025-05-011-0/+110