Skip to content

Commit 3058326

Browse files
committed
Tweaking for splittening
1 parent fe11adf commit 3058326

4 files changed

Lines changed: 30 additions & 3 deletions

File tree

CommunityBugFixCollection/CaseInsensitiveCustomGenerics.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ internal sealed class CaseInsensitiveCustomGenerics : Monkey<CaseInsensitiveCust
2323

2424
protected override bool OnLoaded()
2525
{
26+
return false;
27+
2628
if (!Enabled)
2729
return true;
2830

CommunityBugFixCollection/ConstantNodeNameAdjustments.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ internal sealed class ConstantNodeNameAdjustments : ResoniteBugFixMonkey<Constan
1616
// Legacy Fix, so off by default
1717
protected override bool OnComputeDefaultEnabledState() => false;
1818

19+
protected override bool OnEngineReady() => base.OnEngineReady();
20+
1921
[HarmonyPostfix]
2022
[HarmonyPatch(typeof(Backspace))]
2123
private static string BackspaceNamePostfix(string __result)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"profiles": {
3+
"MonkeyLoader.Resonite.Integration": {
4+
"commandName": "Project"
5+
},
6+
"Resonite": {
7+
"commandName": "Executable",
8+
"executablePath": "$(ResonitePath)/Resonite.exe",
9+
"commandLineArgs": "-donotautoloadhome",
10+
"workingDirectory": "$(ResonitePath)"
11+
},
12+
"Resonite (Override Cache)": {
13+
"commandName": "Executable",
14+
"executablePath": "$(ResonitePath)/Resonite.exe",
15+
"commandLineArgs": "-donotautoloadhome -CachePath \"$(ResoniteCachePath)\"",
16+
"workingDirectory": "$(ResonitePath)"
17+
}
18+
}
19+
}

Directory.Build.props

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,14 @@
3636

3737
<PropertyGroup Condition="'$(ResonitePath)'==''">
3838
<ResonitePath>$(MSBuildThisFileDirectory)Resonite</ResonitePath>
39-
<ResonitePath Condition="Exists('C:\Program Files (x86)\Steam\steamapps\common\Resonite\')">C:\Program Files (x86)\Steam\steamapps\common\Resonite</ResonitePath>
39+
<ResonitePath Condition="Exists('C:/Program Files (x86)/Steam/steamapps/common/Resonite/')">C:/Program Files (x86)/Steam/steamapps/common/Resonite</ResonitePath>
4040
<ResonitePath Condition="Exists('$(HOME)/.steam/steam/steamapps/common/Resonite/')">$(HOME)/.steam/steam/steamapps/common/Resonite</ResonitePath>
4141
<ResonitePath Condition="Exists('D:/Files/Games/Resonite/app/')">D:/Files/Games/Resonite/app</ResonitePath>
42-
<ResonitePath Condition="Exists('D:\SteamLibrary\\steamapps\common\Resonite\')">D:\SteamLibrary\\steamapps\common\Resonite\</ResonitePath>
43-
<ResonitePath Condition="Exists('G:\SteamLibrary\steamapps\common\Resonite')">G:\SteamLibrary\steamapps\common\Resonite</ResonitePath>
42+
<ResonitePath Condition="Exists('D:/SteamLibrary//steamapps/common/Resonite/')">D:/SteamLibrary//steamapps/common/Resonite</ResonitePath>
43+
<ResonitePath Condition="Exists('G:/SteamLibrary/steamapps/common/Resonite')">G:/SteamLibrary\steamapps\common\Resonite</ResonitePath>
44+
</PropertyGroup>
45+
46+
<PropertyGroup Condition="'$(ResoniteCachePath)' == ''">
47+
<ResoniteCachePath Condition="Exists('S:/Resonite/')">S:/Resonite/</ResoniteCachePath>
4448
</PropertyGroup>
4549
</Project>

0 commit comments

Comments
 (0)