23 Commits
Author SHA1 Message Date
MenShiyun 6cea286d20 Fix GameDataPath exception in non-Unity3D games (#1416)
When `GameDataPath` is invalid, do not throw an exception; instead, set
both `GameDataPath` and `ManagedPath` to `null`.
2026-10-16 12:41:59 +02:00
js6pak bd467c9af6 Expose a DisplayBepInExVersion (#556) 2026-06-11 12:25:33 +02:00
aldelaro5 544f909a80 Revert "Merge pull request #960 from aldelaro5/metaplugins" (#995)
This reverts commit 2a61b61497, reversing
changes made to 6b38cee127.
2024-09-24 20:25:56 +02:00
Bepis 2a61b61497 Merge pull request #960 from aldelaro5/metaplugins
Implement patcher and plugin providers
2024-09-08 23:19:59 +10:00
ManlyMarco 6b38cee127 Fix failing to initialize if game's Data folder is just 'Data' (#975)
Any Unity game can have its _Data folder renamed to just Data and continue working just fine.
2024-09-02 13:26:49 +02:00
aldelaro5 952c74f6fe Implement Patcher and plugin providers 2024-08-19 19:57:52 -04:00
ghorsington 579ee8511b Add extended Unity version resolver; reorganise projects
The new resolver resides in BepInEx.Unity.Core
The resolver is based on multiple heuristics and integrates all workarounds we currently use so this shouldn't be a breaking change
2022-08-14 17:19:09 +03:00
ghorsington d190b069a1 Restructure versioning and project configuration
To simplify versioning and configuration:

* Removed BepInEx.Shared
* Removed BuildInfoAttribute
* Moved shared configuration to Directory.Build.props
* Refactored to use VersionSuffix and SourceRevisionId for embedding BE and commit hash info
* Enabled debug info embedding
2022-08-14 17:19:06 +03:00
ghorsington 4bb48c502e Reformat project; apply code style 2021-12-21 18:55:05 +02:00
ghorsington 325e0df14b Use C# 10, reformat project 2021-12-21 16:09:39 +02:00
ghorsington 639dbb475c Bump NuGet packages 2021-09-25 19:22:12 +03:00
ghorsington c874d4f6b3 Apply style 2021-04-11 14:10:00 +03:00
ghorsington d3240c3361 Port important fixes from v5-lts
Only fixes are ported, no main feature changes
2021-04-11 13:25:14 +03:00
ghorsington ff4e1b7c7f Reformat code after last commits 2021-01-26 20:47:02 +02:00
ghorsington ecb61f60d8 Apply code style 2021-01-23 22:04:11 +02:00
ghorsington 5020ed88f8 Port Paths.ManagedPath from BepInEx 5 2021-01-01 19:49:06 +02:00
ghorsington 28671ceb6f Add version-independent helper for retrieving assembly attributes 2020-11-30 15:49:21 +02:00
ghorsington cfa6857bb0 Use GetCustomAttributes instead of GetCustomAttribute
GetCustomAttribute is not part of net35
2020-11-30 15:44:15 +02:00
js6pak cc55d5bdb9 Change semver library, again 2020-11-29 21:41:29 +01:00
js6pak 29188d1b97 Add semver stuff 2020-11-16 10:14:28 +01:00
Bepis c2ecb50a22 Add uname libc call on Unix systems as platform check
Rebase of 7647862
2020-11-09 00:55:16 +11:00
Bepis 0b7db81420 Set GameRootPath to outside the game.app folder on OSX
Rebase of f963d6c
2020-11-05 23:23:35 +11:00
Bepis dc5d9f444f Initial framework split 2020-04-27 20:07:10 +10:00