|
本帖最后由 qq8899399 于 2024-10-10 15:33 编辑
发个在线安装角本
- @ECHO Off
- PUSHD %~DP0
- >NUL 2>&1 REG.exe query "HKU\S-1-5-19" || (
- ECHO SET UAC = CreateObject^("Shell.Application"^) > "%TEMP%\Getadmin.vbs"
- ECHO UAC.ShellExecute "%~f0", "%1", "", "runas", 1 >> "%TEMP%\Getadmin.vbs"
- "%TEMP%\Getadmin.vbs"
- DEL /f /q "%TEMP%\Getadmin.vbs" 2>NUL
- Exit /b
- )
- mode con cols=55 lines=32 & color 0A & cls ::设置窗口宽、高、颜色和清屏
- if "%PROCESSOR_ARCHITECTURE%"=="x86" set bits=x32
- if "%PROCESSOR_ARCHITECTURE%"=="AMD64" set bits=x64
- cd /d %~dp0
- ECHO 安装 DV+HDR扩展 DolbyVisionHDR
- winget install 9MVMZ93N61T9 --accept-package-agreements --accept-source-agreements --uninstall-previous --source msstore
- ECHO 安装 DV+HDR扩展 DolbyVisionAccess
- winget install 9PLTG1LWPHLF --accept-package-agreements --accept-source-agreements --uninstall-previous --source msstore
- ECHO 安装 MPEG-2 视频扩展
- winget install 9N95Q1ZZPMH4 --accept-package-agreements --accept-source-agreements --uninstall-previous --source msstore
- ECHO 安装 AV1视频扩展
- winget install 9MVZQVXJBQ9V --accept-package-agreements --accept-source-agreements --uninstall-previous --source msstore
- ECHO 安装 AVC视频扩展
- winget install 9PB0TRCNRHFX --accept-package-agreements --accept-source-agreements --uninstall-previous --source msstore
- ECHO 安装 VP9视频扩展
- winget install 9N4D0MSMP0PT --accept-package-agreements --accept-source-agreements --uninstall-previous --source msstore
- ECHO 安装 Webp图像扩展
- winget install 9PG2DK419DRG --accept-package-agreements --accept-source-agreements --uninstall-previous --source msstore
- ECHO 安装 HEIF图像扩展
- winget install 9PMMSR1CGPWG --accept-package-agreements --accept-source-agreements --uninstall-previous --source msstore
- ECHO 安装 来自设备制造商的HEVC视频扩展(无法用命令行在线安装)
- winget install 9N4WGH0Z6VHQ --accept-package-agreements --accept-source-agreements --uninstall-previous --source msstore
复制代码
|
|