Browse Source

Set correct xOS value (closes #46)

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

Loading…
Cancel
Save