Browse Source

Set correct xOS value (closes #46)

pull/56/head
R4SAS 2 years ago committed by GitHub
parent
commit
ce06fc8cf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 22
      windows/build/build.cmd

22
windows/build/build.cmd

@ -14,10 +14,10 @@ call :GET_PROXY @@ -14,10 +14,10 @@ call :GET_PROXY
call :GET_ARCH
if "%locale%"=="ru" (
echo ‘¡®àª  I2Pd Browser Portable
echo Ÿ§ëª ¡à ã§¥à : %locale%,  àå¨â¥ªâãà : %xOS%
echo ‘¡®àª  I2Pd Browser Portable
echo Ÿ§ëª ¡à ã§¥à : %locale%,  àå¨â¥ªâãà : %xOS%
echo.
echo £à㧪  ãáâ ­®¢é¨ª  Firefox ESR
echo £à㧪  ãáâ ­®¢é¨ª  Firefox ESR
) else (
echo Building I2Pd Browser Portable
echo Browser locale: %locale%, architecture: %xOS%
@ -34,7 +34,7 @@ if errorlevel 1 ( @@ -34,7 +34,7 @@ if errorlevel 1 (
echo.
if "%locale%"=="ru" (
echo <EFBFBD> á¯ ª®¢ª  ãáâ ­®¢é¨ª  ¨ 㤠«¥­¨¥ ­¥ ­ã¦­ëå ä ©«®¢
echo  á¯ ª®¢ª  ãáâ ­®¢é¨ª  ¨ 㤠«¥­¨¥ ­¥ ­ã¦­ëå ä ©«®¢
) else (
echo Unpacking the installer and deleting unnecessary files
)
@ -64,7 +64,7 @@ echo OK! @@ -64,7 +64,7 @@ echo OK!
echo.
if "%locale%"=="ru" (
echo <EFBFBD> â稬 ¢­ãâ७­¨¥ ä ©«ë ¡à ã§¥à  ¤«ï ®âª«î祭¨ï ­ ¢ï§ç¨¢ëå § ¯à®á®¢
echo  â稬 ¢­ãâ७­¨¥ ä ©«ë ¡à ã§¥à  ¤«ï ®âª«î祭¨ï ­ ¢ï§ç¨¢ëå § ¯à®á®¢
) else (
echo Patching browser internal files to disable annoying external requests
)
@ -90,7 +90,7 @@ echo OK! @@ -90,7 +90,7 @@ echo OK!
echo.
if "%locale%"=="ru" (
echo £à㧪  ï§ëª®¢ëå ¯ ª¥â®¢
echo £à㧪  ï§ëª®¢ëå ¯ ª¥â®¢
) else (
echo Downloading language packs
)
@ -105,7 +105,7 @@ if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!) @@ -105,7 +105,7 @@ if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!)
echo.
if "%locale%"=="ru" (
echo £à㧪  ¤®¯®«­¥­¨ï NoScript
echo £à㧪  ¤®¯®«­¥­¨ï NoScript
) else (
echo Downloading NoScript extension
)
@ -114,7 +114,7 @@ if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!) @@ -114,7 +114,7 @@ if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!)
echo.
if "%locale%"=="ru" (
echo Š®¯¨à®¢ ­¨¥ ä ©«®¢ ­ áâ஥ª ¢ ¯ ¯ªã Firefox
echo Š®¯¨à®¢ ­¨¥ ä ©«®¢ ­ áâ஥ª ¢ ¯ ¯ªã Firefox
) else (
echo Copying Firefox launcher and settings
)
@ -131,7 +131,7 @@ echo OK! @@ -131,7 +131,7 @@ echo OK!
echo.
if "%locale%"=="ru" (
echo £à㧪  I2Pd
echo £à㧪  I2Pd
) else (
echo Downloading I2Pd
)
@ -144,7 +144,7 @@ xcopy /E /I /Y i2pd ..\i2pd > nul @@ -144,7 +144,7 @@ xcopy /E /I /Y i2pd ..\i2pd > nul
echo.
if "%locale%"=="ru" (
echo I2Pd Browser Portable £®â®¢ ª § ¯ãáªã!
echo I2Pd Browser Portable £®â®¢ ª § ¯ãáªã!
) else (
echo I2Pd Browser Portable is ready to start!
)
@ -166,7 +166,7 @@ goto :eof @@ -166,7 +166,7 @@ goto :eof
:GET_ARCH
set xOS=win32
if defined PROCESSOR_ARCHITEW6432 (set xOS=x64) else if "%PROCESSOR_ARCHITECTURE%" neq "x86" (set xOS=win64)
if defined PROCESSOR_ARCHITEW6432 (set xOS=win64) else if "%PROCESSOR_ARCHITECTURE%" neq "x86" (set xOS=win64)
goto :eof
:eof

Loading…
Cancel
Save