Skip to content

Commit

Permalink
Revert "Merge branch 'main' into workingdir"
Browse files Browse the repository at this point in the history
This reverts commit 44effe4, reversing
changes made to d7d7c20.
  • Loading branch information
Jujstme committed Mar 10, 2025
1 parent 44effe4 commit e71a8bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
14 changes: 0 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -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">
<img src="https://raw.githubusercontent.com/hedge-dev/UnleashedRecompResources/refs/heads/main/images/logo/Logo.png" width="512"/>
</p>
Expand Down
7 changes: 1 addition & 6 deletions UnleashedRecomp/user/paths.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@ inline std::filesystem::path GetGamePath()
return "/var/data";
else
#endif
const char* homeDir = getenv("HOME");
if (homeDir == nullptr)
return g_executableRoot;
std::filesystem::path homePath = homeDir;
std::filesystem::path gamePath = homePath / ".local" / "share" / USER_DIRECTORY;
return gamePath;
return ".";
}

bool CheckPortable();
Expand Down

0 comments on commit e71a8bc

Please sign in to comment.