mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-21 23:42:18 +00:00
Revert "Merge branch 'main' into workingdir"
This reverts commit44effe4f64, reversing changes made tod7d7c208cb.
This commit is contained in:
parent
44effe4f64
commit
e71a8bc13a
2 changed files with 1 additions and 20 deletions
14
README.md
14
README.md
|
|
@ -1,17 +1,3 @@
|
||||||
> [!WARNING]
|
|
||||||
> This repository is a fork of the Unleashed Recompiled project, specifically designed to support binary Arch Linux packaging through the AUR and the PKGBUILD system. For Windows builds, please refer to the upstream repository.
|
|
||||||
> **Do not attempt to compile the content of this repository with Windows targets**.
|
|
||||||
> Please be also aware this package, unlike the Flatpak version provided upstream, may not be compatible with the Hedgemod Manager differently from the Flatpak version provided upstream.
|
|
||||||
|
|
||||||
Binaries from this repository are built using:
|
|
||||||
|
|
||||||
```
|
|
||||||
$ cmake -DCMAKE_AR=/usr/bin/llvm-ar -DCMAKE_RANLIB=/usr/bin/llvm-ranlib . --preset linux-release
|
|
||||||
$ cmake --build ./out/build/linux-release --target UnleashedRecomp
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://raw.githubusercontent.com/hedge-dev/UnleashedRecompResources/refs/heads/main/images/logo/Logo.png" width="512"/>
|
<img src="https://raw.githubusercontent.com/hedge-dev/UnleashedRecompResources/refs/heads/main/images/logo/Logo.png" width="512"/>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
||||||
|
|
@ -14,12 +14,7 @@ inline std::filesystem::path GetGamePath()
|
||||||
return "/var/data";
|
return "/var/data";
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
const char* homeDir = getenv("HOME");
|
return ".";
|
||||||
if (homeDir == nullptr)
|
|
||||||
return g_executableRoot;
|
|
||||||
std::filesystem::path homePath = homeDir;
|
|
||||||
std::filesystem::path gamePath = homePath / ".local" / "share" / USER_DIRECTORY;
|
|
||||||
return gamePath;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CheckPortable();
|
bool CheckPortable();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue