File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,4 +97,4 @@ if ($check -match "Virtual Display Driver") {
9797
9898 Write-Host " Driver installation completed." - ForegroundColor Green;
9999}
100- Remove-Item - Path $tempDir - Recurse - Force - ErrorAction SilentlyContinue;
100+ # Remove-Item -Path $tempDir -Recurse -Force -ErrorAction SilentlyContinue;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ REM 因为默认读的是注册表配置的目录,我们需要将注册表的
2424reg add " HKLM\SOFTWARE\MikeTheTech\VirtualDisplayDriver" /v VDDPATH /t REG_SZ /d " %CONFIG_DIR% " /f
2525
2626REM 安装具体的驱动
27- powershell.exe -ExecutionPolicy Bypass -File " %~dp0 \silent -install.ps1"
27+ powershell.exe -ExecutionPolicy Bypass -File " %~dp0 silent -install.ps1"
2828
2929REM 初次安装后,还应设置成扩展这些显示器的显示模式
3030powershell -NoProfile -ExecutionPolicy Bypass -Command " & " C:\Windows\System32\DisplaySwitch.exe" /extend"
Original file line number Diff line number Diff line change @@ -390,7 +390,7 @@ finally {
390390 if (Test-Path $tempDir ) {
391391 # This Write-Verbose message will not be visible without -Verbose, but is good practice.
392392 Write-Verbose " Cleaning up temporary directory: $tempDir "
393- Remove-Item - Path $tempDir - Recurse - Force
393+ # Remove-Item -Path $tempDir -Recurse -Force
394394 }
395395 }
396396}
Original file line number Diff line number Diff line change 772 . merge from master.
883 . update changeres-VDD script.
99
10+ ##### 1.0.25.102701
11+ 1 . move script to child directory,like ./scripts/vdd/ .
12+ 2 . add set display mode script for extend.
13+ 3 . add set disable vdd after first setup.
14+
1015##### 1.0.25.102401
11161 . add vdd install and uninstall shell bat.
12172 . optimize script make workspace is current directory.
You can’t perform that action at this time.
0 commit comments