| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
```
|
| |
|
|
|
|
|
|
|
|
| |
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/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;
| ^
|
| |
|
|
|
| |
* manifest: reject bad names from parsing
* sys: restructure root functions
|
| |
|
|
|
|
|
| |
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>
|
| |
|
|
| |
ref #10288
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|