Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c9282706f0 | |||
| 2eff59c883 | |||
| f3355bd180 | |||
| d28fd9ce46 | |||
| e99da40629 |
4 changed files with 42 additions and 0 deletions
|
|
@ -2,6 +2,22 @@
|
||||||
linker = "clang"
|
linker = "clang"
|
||||||
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
|
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
|
||||||
|
|
||||||
|
[target.aarch64-apple-darwin]
|
||||||
|
linker = "aarch64-apple-darwin-clang"
|
||||||
|
rustflags = [
|
||||||
|
"-C", "link-arg=-fuse-ld=lld",
|
||||||
|
"-C", "link-arg=-isysroot",
|
||||||
|
"-C", "link-arg=/home/oiupoyt/.local/share/MacOSX11.3.sdk",
|
||||||
|
]
|
||||||
|
|
||||||
|
[target.x86_64-apple-darwin]
|
||||||
|
linker = "x86_64-apple-darwin-clang"
|
||||||
|
rustflags = [
|
||||||
|
"-C", "link-arg=-fuse-ld=lld",
|
||||||
|
"-C", "link-arg=-isysroot",
|
||||||
|
"-C", "link-arg=/home/oiupoyt/.local/share/MacOSX11.3.sdk",
|
||||||
|
]
|
||||||
|
|
||||||
# Linux and Macos by default have 8MB of stack storage.
|
# Linux and Macos by default have 8MB of stack storage.
|
||||||
# Windows has 1MB, it isn't enough, so it's changed to 8MB also.
|
# Windows has 1MB, it isn't enough, so it's changed to 8MB also.
|
||||||
[target.x86_64-pc-windows-msvc]
|
[target.x86_64-pc-windows-msvc]
|
||||||
|
|
|
||||||
25
AGENTS.md
Normal file
25
AGENTS.md
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
# OneLauncher-Cracked Development & Release Guidelines
|
||||||
|
|
||||||
|
## 1. Release Versioning Policy
|
||||||
|
- **Suffix Progression**: Every fix, rebuild, or update to an existing release MUST increment the cracked revision suffix monotonically:
|
||||||
|
- Example: `v2.8.0-c1` -> `v2.8.0-c2` -> `v2.8.0-c3`
|
||||||
|
- **Tag Immutability**: Never force-push or re-upload assets over an existing release tag. The in-launcher `CrackedVersion` SemVer parser relies on strictly increasing revisions to detect and download updates.
|
||||||
|
- **Cargo.toml Version**: When bumping the suffix, update the workspace `version = "2.8.0-c<N>"` in the root `Cargo.toml`.
|
||||||
|
|
||||||
|
## 2. Remote Synchronization (Dual-Push)
|
||||||
|
- Primary Forgejo remote: `https://git.oiupoyt.space/oiupoyt/OneLauncher-Cracked.git` (remote: `forgejo`)
|
||||||
|
- GitHub remote: `https://github.com/oiupoyt/OneLauncher-Cracked.git` (remote: `origin`)
|
||||||
|
- Always push to both remotes:
|
||||||
|
```bash
|
||||||
|
git push origin <branch> --tags
|
||||||
|
git push forgejo <branch> --tags
|
||||||
|
```
|
||||||
|
|
||||||
|
## 3. Build & Compiler Performance
|
||||||
|
- **ThinLTO**: Use `lto = "thin"` with `codegen-units = 16` and `debug = false` in `[profile.release]`. Do not use `lto = "fat"` (causes 10m+ single-threaded linking stalls).
|
||||||
|
- **Fast Linker**: On Linux, use `clang -fuse-ld=lld` configured in `.cargo/config.toml`.
|
||||||
|
- **Offline Mode & Skin Pipeline**:
|
||||||
|
- Preserve `account_for_launch` bypass in `oneclient_auth`.
|
||||||
|
- Always verify `paths::all_skins_dirs()` for multi-directory skin search.
|
||||||
|
- Keep `--userProperties` argument injection in `oneclient_core/src/game/launch.rs`.
|
||||||
|
- Ensure TCP socket `flush()` and `shutdown()` in `skin_server.rs` before connection termination.
|
||||||
|
|
@ -7,6 +7,7 @@ forked from [OneLauncher](https://github.com/Polyfrost/OneLauncher) allowing for
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## download from [**Releases Page**](https://git.oiupoyt.space/oiupoyt/OneLauncher-Cracked/releases).
|
## download from [**Releases Page**](https://git.oiupoyt.space/oiupoyt/OneLauncher-Cracked/releases).
|
||||||
|
|
||||||
yes the actual client performs normally aswell
|
yes the actual client performs normally aswell
|
||||||
|
|
||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
|
|
|
||||||
BIN
docs/images/downloads-guide.png
Normal file
BIN
docs/images/downloads-guide.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
Loading…
Add table
Reference in a new issue