Fix reference to static method in ScriptHelper

pull/33/head
Pat Hartl 2023-11-15 23:59:12 -06:00
parent 97f459eaff
commit eb05364542
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ namespace LANCommander.SDK.Helpers
if (script.RequiresAdmin) if (script.RequiresAdmin)
script.Contents = "# Requires Admin" + "\r\n\r\n" + script.Contents; script.Contents = "# Requires Admin" + "\r\n\r\n" + script.Contents;
var filename = PowerShellRuntime.GetScriptFilePath(game, type); var filename = GetScriptFilePath(game, type);
if (File.Exists(filename)) if (File.Exists(filename))
File.Delete(filename); File.Delete(filename);