Fix detection result check
parent
b4405d3034
commit
4dfed69a91
|
@ -228,7 +228,8 @@ namespace LANCommander.PlaynitePlugin
|
||||||
|
|
||||||
var detectionResult = PowerShellRuntime.RunScript(detectionScriptTempFile, detectionScript.RequiresAdmin);
|
var detectionResult = PowerShellRuntime.RunScript(detectionScriptTempFile, detectionScript.RequiresAdmin);
|
||||||
|
|
||||||
if (!detectionResult == 0)
|
// Redistributable is not installed
|
||||||
|
if (detectionResult == 0)
|
||||||
{
|
{
|
||||||
var extractionResult = DownloadAndExtractRedistributable(redistributable);
|
var extractionResult = DownloadAndExtractRedistributable(redistributable);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue