Former-commit-id: 47b5394e91a9517af223d81c9a522b5d5121349b
This commit is contained in:
r4sas 2017-03-14 15:03:30 +03:00
parent 72a5f3da0e
commit f3c8f91d20
10 changed files with 28 additions and 25 deletions

View file

@ -9,11 +9,11 @@ REM BFCPEEMBEDDELETE=1
REM BFCPEADMINEXE=0
REM BFCPEINVISEXE=0
REM BFCPEVERINCLUDE=1
REM BFCPEVERVERSION=1.2.0.0
REM BFCPEVERVERSION=1.2.1.0
REM BFCPEVERPRODUCT=I2Pd Browser Portable
REM BFCPEVERDESC=I2Pd Browser
REM BFCPEVERCOMPANY=PurpleI2P
REM BFCPEVERCOPYRIGHT=Copyright © 2013-2016 PurpleI2P Project
REM BFCPEVERCOPYRIGHT=Copyright © 2013-2017 PurpleI2P Project
REM BFCPEOPTIONEND
REM Copyright (c) 2013-2017, The PurpleI2P Project

View file

@ -1,4 +1,9 @@
@echo off
REM Copyright (c) 2013-2017, The PurpleI2P Project
REM This file is part of Purple i2pd project and licensed under BSD3
REM See full license text in LICENSE file at top of project tree
setlocal enableextensions
set CURL=%~dp0curl.exe
@ -18,7 +23,7 @@ if "%locale%"=="Russian" (
echo Downloading Firefox Portable ESR installer
)
"%CURL%" -L -f -# -O https://downloads.sourceforge.net/project/portableapps/Mozilla%%20Firefox%%2C%%20Portable%%20Ed./Mozilla%%20Firefox%%20ESR%%2C%%20Portable%%20Edition%%2045.7.0/FirefoxPortableESR_45.7.0_%locale%.paf.exe %$X%
"%CURL%" -L -f -# -O https://downloads.sourceforge.net/project/portableapps/Mozilla%%20Firefox%%2C%%20Portable%%20Ed./Mozilla%%20Firefox%%20ESR%%2C%%20Portable%%20Edition%%2045.8.0/FirefoxPortableESR_45.8.0_%locale%.paf.exe %$X%
if errorlevel 1 (
echo ERROR:%ErrorLevel%
pause
@ -32,8 +37,8 @@ if "%locale%"=="Russian" (
echo Unpacking the installer and delete unnecessary files
)
7z x -y -o..\Firefox FirefoxPortableESR_45.7.0_%locale%.paf.exe > nul
del /Q FirefoxPortableESR_45.7.0_%locale%.paf.exe
7z x -y -o..\Firefox FirefoxPortableESR_45.8.0_%locale%.paf.exe > nul
del /Q FirefoxPortableESR_45.8.0_%locale%.paf.exe
rmdir /S /Q ..\Firefox\$PLUGINSDIR
rmdir /S /Q ..\Firefox\App\AppInfo
rmdir /S /Q ..\Firefox\App\Bin