Skip to content

Commit 1bea1ad

Browse files
committed
better install batch script
1 parent 8118c6d commit 1bea1ad

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

SU Lab Install.bat

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@ mkdir Apps-SU
55

66
set PROG=dvcurator
77
set EXE=C:\Apps-SU\%PROG%_win.exe
8-
set LNK=H:\Desktop\%PROG%.url
8+
set LNK=%USERPROFILE%\Desktop\%PROG%.url
99

10+
echo Downloading %PROG%...
1011
for /f "tokens=1,* delims=:" %%A in ('curl -ks https://api.github.com/repos/QualitativeDataRepository/dvcurator-python/releases/latest ^| find "browser_download_url" ^| findstr exe') do (
11-
curl -kL %%B -o %EXE%
12+
curl -kL %%B -o %EXE% >null 2&1
1213
)
14+
echo Download complete!
1315

16+
echo Making desktop shortcut...
1417
echo [InternetShortcut] >> %LNK%
1518
echo URL=%EXE% >> %LNK%
1619
echo IconFile=%EXE% >> %LNK%

0 commit comments

Comments
 (0)