tiny fix for fresh config save

This commit is contained in:
Raymix 2016-05-18 18:56:29 +01:00
parent 6f169cff93
commit 710f839e77

View File

@ -669,7 +669,6 @@ $Timer1 = New-Object System.Windows.Forms.Timer($components)
$c1 = Test-Path (Join-Path $TextBox1.Text "\Arma3.exe")
$c2 = Test-Path (Join-Path $TextBox2.Text "\Sources")
$c3 = Test-Path (Join-Path $TextBox3.Text "\AddonBuilder.exe") -ErrorAction SilentlyContinue
$c4 = Test-Path (Join-Path $TextBox4.Text "\Sources")
$c5 = Test-Path "P:\"
if ($c1 -and $c2 -and $c3 -and $c5)
@ -805,7 +804,7 @@ $Timer1 = New-Object System.Windows.Forms.Timer($components)
4 # Location of Private Github
{
$TextBox4.Text = $p
$tp = Join-Path $p "\Sources"
$tp = Join-Path $p "\Source_CC_BY-NC-ND"
if (!(Test-Path $tp))
{
[System.Windows.Forms.MessageBox]::Show(($tp + " Not found."), "Warning")