Created
November 27, 2022 11:05
-
-
Save C0nw0nk/2b4c2a001db99f0bf07b11794c9403d1 to your computer and use it in GitHub Desktop.
get vivaldi chromedriver current supported version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off & setLocal EnableDelayedExpansion | |
::get vivaldi chromedriver version to extract the right file that will be compatible | |
set alias=REG QUERY ^"HKEY_CURRENT_USER\SOFTWARE\Vivaldi\BLBeacon^" | |
for /f "tokens=*" %%a in ('%alias% /s ^| FIND ^"version^" 2^>Nul') do ( | |
set framework_version=%%a | |
::set "framework_version=!framework_version:~1,-1!" | |
set "framework_version=!framework_version:.=!" | |
set "framework_version=!framework_version: =!" | |
set "framework_version=!framework_version:Version=!" | |
set "framework_version=!framework_version:Target=!" | |
set "framework_version=!framework_version:REG_SZ=!" | |
) | |
::end vivaldi check | |
echo !framework_version! | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment