Last active
November 15, 2020 21:43
-
-
Save 42wim/a620cc878890154ddedadfd0d2bab41d to your computer and use it in GitHub Desktop.
scoop chrome portable widevine junction workaround
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 | |
cd C:\workdir\myapps\scoop\apps\googlechrome-portable | |
FOR /F "tokens=*" %%g IN ('dir /AD /B /O-d ^| find /V "current" ^|findstr/n . ^|findstr "^1:"') do (SET VAR=%%g) | |
set VAR=%VAR:1:=% | |
start %VAR%\chrome %* |
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 | |
cd c:\Workdir\MyApps\scoop\apps\googlechrome-portable | |
FOR /F "tokens=*" %%g IN ('fsutil reparsepoint query current ^| find /v "??" ^| findstr "C:\work"') do (SET VAR=%%g) | |
set VAR=%VAR:Print Name: =% | |
start %VAR%\chrome %* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment