Skip to content

Commit

Permalink
feat: look for gfxexport in application directory instead of working …
Browse files Browse the repository at this point in the history
…directory by default
  • Loading branch information
Notexe committed Jul 17, 2024
1 parent 64f0948 commit f944852
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
name: win-x64

- name: Download ResourceTool
uses: robinraju/release-downloader@v1.9
uses: robinraju/release-downloader@v1.11
with:
repository: "OrfeasZ/ZHMTools"
latest: true
Expand Down
1 change: 1 addition & 0 deletions G2GFxDataTool/G2GFxDataTool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
<Copyright>Copyright (C) Glacier 2 Modding Organisation</Copyright>
<Version>1.1.0</Version>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions G2GFxDataTool/Options.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ public class Options
[Option('b', "base-assembly-path", SetName = "export", Required = false, HelpText = "Base assembly path (defaults to /ui/controls/).")]
public string baseAssemblyPath { get; set; } = "/ui/controls/";

[Option('g', "gfxexport", SetName = "export", Required = false, HelpText = "Path to gfxexport.exe (defaults to \"gfxexport.exe\").")]
public string gfxexportPath { get; set; } = "gfxexport.exe";
[Option('g', "gfxexport", SetName = "export", Required = false, HelpText = "Path to gfxexport.exe (defaults to \"gfxexport.exe\" in the folder where G2GFxDataTool.exe is located).")]
public string gfxexportPath { get; set; } = AppDomain.CurrentDomain.BaseDirectory + "gfxexport.exe";

[Option('s', "save-paths", SetName = "export", Required = false, HelpText = "Saves Scaleform GFx, UIControl and aspect paths to scaleformgfx.txt, uicontrol.txt and aspect.txt text files in the output directory.")]
public bool savePaths { get; set; }
Expand Down

0 comments on commit f944852

Please sign in to comment.