Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed May 1, 2024
1 parent a8a17a0 commit 11730f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
Get-ChildItem "src/" -Filter *.exe |
Foreach-Object {
dotnet script foo.csx -- --enable-gpu "$_.FullName"
dotnet script build/gpu.csx -- --enable-gpu "$_.FullName"
}
shell: pwsh

Expand Down
9 changes: 6 additions & 3 deletions build/gpu.csx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ using System.Linq;
using System.IO;
using System;

namespace EditBinPE;
class Program
{
private static readonly string ExePath = AppDomain.CurrentDomain.BaseDirectory, ConfigPath = ExePath + "/config";
Expand All @@ -21,8 +20,10 @@ class Program
new("AmdPowerXpressRequestHighPerformance")
};

public static unsafe int Main(string[] args)
public static unsafe int Main(IList<string> args2)
{
var args = args2.ToArray();

// Local vars
List<ExportSymbol> exportSymbols = new();
var inFile = string.Empty;
Expand Down Expand Up @@ -273,4 +274,6 @@ class Program
""";
Console.WriteLine(help);
}
}
}

Program.Main(Args);

0 comments on commit 11730f1

Please sign in to comment.