2023-01-01 16:43:59 +01:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
set LISTFILE=apps.txt
|
|
|
|
set APPSFOLDER=storeapps
|
|
|
|
|
|
|
|
IF NOT EXIST %LISTFILE% (
|
|
|
|
echo ERROR: %LISTFILE% not found!
|
|
|
|
exit /b
|
|
|
|
)
|
|
|
|
|
|
|
|
echo using list [ %LISTFILE% ] ...
|
|
|
|
mkdir %APPSFOLDER% 2>nul
|
|
|
|
|
2023-01-02 17:15:02 +01:00
|
|
|
echo ================================================
|
|
|
|
echo START download of APPS from SOURCE sites ...
|
|
|
|
echo ================================================
|
|
|
|
date /t
|
|
|
|
time /t
|
|
|
|
echo.
|
2023-01-01 16:43:59 +01:00
|
|
|
|
|
|
|
FOR /F "tokens=1" %%E in (%LISTFILE%) do (
|
|
|
|
echo URL = [ %%E ]
|
2023-01-01 18:45:10 +01:00
|
|
|
powershell -command .\Download-AppxFromStore.ps1 %%E %APPSFOLDER%
|
2023-01-01 16:43:59 +01:00
|
|
|
echo.
|
|
|
|
)
|
|
|
|
|
2023-01-01 18:04:13 +01:00
|
|
|
echo Cleanup ...
|
|
|
|
del /F /Q %APPSFOLDER%\*.BlockMap
|
|
|
|
del /F /Q %APPSFOLDER%\*x86*
|
|
|
|
del /F /Q %APPSFOLDER%\*arm*
|
|
|
|
del /F /Q %APPSFOLDER%\*.eappxbundle
|
2023-01-02 10:10:15 +01:00
|
|
|
del /F /Q %APPSFOLDER%\*.emsixbundle
|
2023-01-01 16:43:59 +01:00
|
|
|
|
2023-01-02 17:15:02 +01:00
|
|
|
echo.
|
|
|
|
date /t
|
|
|
|
time /t
|
|
|
|
echo ======
|
|
|
|
echo READY.
|
|
|
|
echo ======
|
|
|
|
|