Skip to content

Commit

Permalink
Merge pull request #43 from aoiyu-dev/main
Browse files Browse the repository at this point in the history
Tiny Mac Fixups
  • Loading branch information
shibbo authored Nov 7, 2023
2 parents 858b30e + 1f76524 commit b37591e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
dotnet-version: 8.0.x
- name: Install NativeFileDialogSharp
run: dotnet add Fushigi/Fushigi.csproj package NativeFileDialogSharp
run: dotnet add Fushigi/Fushigi.csproj package NativeFileDialogSharp --version 0.6.0-alpha
- name: Install Newtonsoft.Json
run: dotnet add Fushigi/Fushigi.csproj package Newtonsoft.Json
- name: Install Silk.NET.Core
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ Fushigi.Byml/.vs/*
Fushigi.Byml/bin/*
Fushigi.Byml/obj/*
SARC/bin/*
SARC/obj/*
SARC/obj/*
.DS_Store
2 changes: 1 addition & 1 deletion Fushigi/Fushigi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NativeFileDialogSharp" Version="0.5.0" />
<PackageReference Include="NativeFileDialogSharp" Version="0.6.0-alpha" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Silk.NET.Core" Version="2.17.1" />
<PackageReference Include="Silk.NET.GLFW" Version="2.17.1" />
Expand Down
6 changes: 3 additions & 3 deletions Fushigi/param/ParamLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ public static void Load()
mParams = new Dictionary<string, ParamHolder>();
var nodes = JsonNode.Parse(
File.ReadAllText(
Path.Combine("res", "AreaParam.json")
)
).AsObject();
Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "res", "AreaParam.json")
)
).AsObject();
ParamHolder areaParms = new ParamHolder();

foreach (KeyValuePair<string, JsonNode> obj in nodes)
Expand Down

0 comments on commit b37591e

Please sign in to comment.