Skip to content

Commit baa5a58

Browse files
committed
1. update install scripts.
2. merge from master. 3. update changeres-VDD script.
1 parent 92a0d65 commit baa5a58

4 files changed

Lines changed: 8 additions & 3 deletions

File tree

Community Scripts/silent-install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

Community Scripts/vdd-install.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ REM 因为默认读的是注册表配置的目录,我们需要将注册表的
2424
reg add "HKLM\SOFTWARE\MikeTheTech\VirtualDisplayDriver" /v VDDPATH /t REG_SZ /d "%CONFIG_DIR%" /f
2525

2626
REM 安装具体的驱动
27-
powershell.exe -ExecutionPolicy Bypass -File "%~dp0\silent-install.ps1"
27+
powershell.exe -ExecutionPolicy Bypass -File "%~dp0silent-install.ps1"
2828

2929
REM 初次安装后,还应设置成扩展这些显示器的显示模式
3030
powershell -NoProfile -ExecutionPolicy Bypass -Command "& "C:\Windows\System32\DisplaySwitch.exe" /extend"

Community Scripts/virtual-driver-manager.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
2. merge from master.
88
3. 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
1116
1. add vdd install and uninstall shell bat.
1217
2. optimize script make workspace is current directory.

0 commit comments

Comments
 (0)