File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55 [string ]$InstallDir
66)
77$file1 = " $InstallDir \vdd_settings.xml"
8- $file2 = " $InstallDir \utils \onoff_at_loginout\psscripts.ini"
9- $file3 = " $InstallDir \utils \onoff_at_loginout\vdd_e-li_d-lo.cmd"
8+ $file2 = " $InstallDir \scripts \onoff_at_loginout\psscripts.ini"
9+ $file3 = " $InstallDir \scripts \onoff_at_loginout\vdd_e-li_d-lo.cmd"
1010$file4 = " $InstallDir \uninstall.bat"
1111
1212# Define the replacement
@@ -17,4 +17,4 @@ $newPath = "CmdLine=$InstallDir\scripts\toggle-VDD.ps1"
1717(Get-Content $file1 ).replace(" <count>1</count>" , " <count>$NumMon </count>" ) | Set-Content $file1
1818(Get-Content $file2 ).replace($oldPath , $newPath ) | Set-Content $file2
1919(Get-Content $file3 ).replace(" C:\VirtualDisplayDriver" , " $InstallDir " ) | Set-Content $file3
20- (Get-Content $file4 ).replace(" C:\VirtualDisplayDriver" , " $InstallDir " ) | Set-Content $file4
20+ (Get-Content $file4 ).replace(" C:\VirtualDisplayDriver" , " $InstallDir " ) | Set-Content $file4
You can’t perform that action at this time.
0 commit comments