Fix reference to static method in ScriptHelper
parent
97f459eaff
commit
eb05364542
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue