diff --git a/reactos/base/applications/rapps/CreateCabFile.bat b/reactos/base/applications/rapps/CreateCabFile.bat index b83f7d06d3e..4d943b28cff 100644 --- a/reactos/base/applications/rapps/CreateCabFile.bat +++ b/reactos/base/applications/rapps/CreateCabFile.bat @@ -1,10 +1,12 @@ @echo off +cd ..\..\..\media + mkdir rapps\utf16 for %%f in (rapps\*.txt) do ( - ..\..\..\output-MinGW-i386\host-tools\tools\utf16le.exe "rapps\%%~nf.txt" "rapps\utf16\%%~nf.txt" + ..\output-MinGW-i386\host-tools\tools\utf16le.exe "rapps\%%~nf.txt" "rapps\utf16\%%~nf.txt" ) -..\..\..\output-MinGW-i386\host-tools\tools\cabman\cabman.exe -M mszip -S rappmgr.cab rapps\utf16\*.txt +..\output-MinGW-i386\host-tools\tools\cabman\cabman.exe -M mszip -S rappmgr.cab rapps\utf16\*.txt rmdir /s /q rapps\utf16 diff --git a/reactos/base/applications/rapps/CreateCabFile.sh b/reactos/base/applications/rapps/CreateCabFile.sh index adb4e706bb4..2ee5b378a10 100755 --- a/reactos/base/applications/rapps/CreateCabFile.sh +++ b/reactos/base/applications/rapps/CreateCabFile.sh @@ -1,8 +1,8 @@ #/bin/sh -cd rapps +cd ../../../media/rapps mkdir utf16 for i in $(find -type f); do - ../../../host-tools/tools/utf16le $i utf16/$i + ../../host-tools/tools/utf16le $i utf16/$i done cd .. ../../host-tools/tools/cabman/cabman -M mszip -S rappmgr.cab rapps/utf16/*.txt