Browse Source

Bumped version

Library loader now less strict about filenames
pull/46/head
Anairkoen Schno 5 years ago
parent
commit
bb3c62ae1a
5 changed files with 14 additions and 8 deletions
  1. +1
    -1
      IPA.Loader/Config/SelfConfig.cs
  2. +10
    -4
      IPA.Loader/Loader/LibLoader.cs
  3. +1
    -1
      IPA.Loader/Loader/manifest.json
  4. +1
    -1
      IPA/Program.cs
  5. +1
    -1
      appveyor.yml

+ 1
- 1
IPA.Loader/Config/SelfConfig.cs View File

@ -33,7 +33,7 @@ namespace IPA.Config
} }
internal const string IPAName = "Beat Saber IPA"; internal const string IPAName = "Beat Saber IPA";
internal const string IPAVersion = "3.12.10";
internal const string IPAVersion = "3.12.11";
public bool Regenerate = true; public bool Regenerate = true;


+ 10
- 4
IPA.Loader/Loader/LibLoader.cs View File

@ -56,17 +56,23 @@ namespace IPA.Loader
var testFile = $"{asmName.Name}.{asmName.Version}.dll"; var testFile = $"{asmName.Name}.{asmName.Version}.dll";
Log(Logger.Level.Debug, $"Looking for file {testFile}"); Log(Logger.Level.Debug, $"Looking for file {testFile}");
if (FilenameLocations.TryGetValue(testFile, out string path))
if (FilenameLocations.TryGetValue(testFile, out var path))
{
Log(Logger.Level.Debug, $"Found file {testFile} as {path}");
if (File.Exists(path))
return Assembly.LoadFrom(path);
Log(Logger.Level.Critical, $"but {path} no longer exists!");
}
else if (FilenameLocations.TryGetValue(testFile = $"{asmName.Name}.dll", out path))
{ {
Log(Logger.Level.Debug, $"Found file {testFile} as {path}"); Log(Logger.Level.Debug, $"Found file {testFile} as {path}");
if (File.Exists(path)) if (File.Exists(path))
{
return Assembly.LoadFrom(path); return Assembly.LoadFrom(path);
}
Log(Logger.Level.Critical, $"but {path} no longer exists!"); Log(Logger.Level.Critical, $"but {path} no longer exists!");
} }
Log(Logger.Level.Critical, $"No library {asmName} found"); Log(Logger.Level.Critical, $"No library {asmName} found");
return null; return null;


+ 1
- 1
IPA.Loader/Loader/manifest.json View File

@ -5,7 +5,7 @@
"gameVersion": "0.13.2", "gameVersion": "0.13.2",
"id": "BSIPA", "id": "BSIPA",
"name": "Beat Saber IPA", "name": "Beat Saber IPA",
"version": "3.12.10",
"version": "3.12.11",
"features": [ "features": [
"define-feature(print, IPA.Loader.Features.PrintFeature)", "define-feature(print, IPA.Loader.Features.PrintFeature)",
"define-feature(debug, IPA.Loader.Features.DebugFeature)", "define-feature(debug, IPA.Loader.Features.DebugFeature)",


+ 1
- 1
IPA/Program.cs View File

@ -23,7 +23,7 @@ namespace IPA
Unknown Unknown
} }
public const string FileVersion = "3.12.10";
public const string FileVersion = "3.12.11";
public static Version Version => Assembly.GetEntryAssembly().GetName().Version; public static Version Version => Assembly.GetEntryAssembly().GetName().Version;


+ 1
- 1
appveyor.yml View File

@ -1,6 +1,6 @@
version: 'BSIPA-{branch}-{build}' version: 'BSIPA-{branch}-{build}'
environment: environment:
bsipa_version: '3.12.10'
bsipa_version: '3.12.11'
pull_requests: pull_requests:
do_not_increment_build_number: true do_not_increment_build_number: true
install: install:


Loading…
Cancel
Save