diff --git a/compile/compile-gui.ps1 b/compile/compile-gui.ps1 index 47f577f..8e35a15 100644 --- a/compile/compile-gui.ps1 +++ b/compile/compile-gui.ps1 @@ -220,7 +220,7 @@ if ($checkbox5.checked -eq $true){ else{$paramstring = "-windowstyle hidden"} } -$ctf1 = Get-Content -Path ([Environment]::GetFolderPath("ProgramFiles")+"\WindowsPowerShell\Modules\vds\vds.psm1") -Encoding UTF8 -ErrorAction SilentlyContinue +$ctf1 = Get-Content -Path ([Environment]::GetFolderPath("System")+"\WindowsPowerShell\v1.0\Modules\vds\vds.psm1") -Encoding UTF8 -ErrorAction SilentlyContinue $ctf2 = Get-Content -Path $textbox1.text -Encoding UTF8 -ErrorAction SilentlyContinue Remove-Item -path $textbox2.text -force Add-Content $textbox2.text $ctf1