Browse Source

[1.2.8] updated osx scripts, fixed i2pd configs

Former-commit-id: eff587650e
pull/43/head
R4SAS 6 years ago
parent
commit
2cc0cfddfa
  1. 1
      .gitignore
  2. 6
      linux/.gitignore
  3. 2
      linux/i2pd/i2pd.conf
  4. 7
      osx/.gitignore
  5. 19
      osx/build/build
  6. 2
      osx/build/i2pd/i2pd.conf
  7. 4
      windows/.gitignore
  8. 2
      windows/build/i2pd/i2pd.conf

1
.gitignore vendored

@ -0,0 +1 @@
.DS_Store

6
linux/.gitignore vendored

@ -1,3 +1,3 @@
./app /app
./data /data
./firefox-portable /firefox-portable

2
linux/i2pd/i2pd.conf

@ -43,7 +43,7 @@ enabled = true
address = 127.0.0.1 address = 127.0.0.1
port = 7656 port = 7656
[ntcp] [ntcp2]
enabled = true enabled = true
#published = false #published = false
#port = #port =

7
osx/.gitignore vendored

@ -1,3 +1,4 @@
./FirefoxESR.app /FirefoxESR.app
./i2pd /i2pd
./data /data
/i2pdbrowser-portable

19
osx/build/build

@ -11,7 +11,7 @@ fi
cd $dir cd $dir
arch=$(uname -m) arch=$(uname -m)
language=$(osascript -e 'user locale of (get system info)') language=$(osascript -e 'user locale of (get system info)' | sed -e 's/_/-/g')
version="60.6.1esr" version="60.6.1esr"
i2pdversion="2.24.0" i2pdversion="2.24.0"
@ -31,7 +31,7 @@ filepath="mac/${language}/${file}"
echo "Downloading $application..." echo "Downloading $application..."
tmpfilepath=$(echo $filepath | sed 's/ /%20/g') tmpfilepath=$(echo $filepath | sed 's/ /%20/g')
curl -L -f -# -O "${ftpmirror}/${tmpfilepath}" curl -L -f -# -o "${file}" "${ftpmirror}/${tmpfilepath}"
if [ $? -ne 0 ]; then # Not found error, trying to cut language variable if [ $? -ne 0 ]; then # Not found error, trying to cut language variable
echo "[TRY 2] I'll try downloading Firefox with shorter language code"; echo "[TRY 2] I'll try downloading Firefox with shorter language code";
language=$(echo $language | cut -c-2) language=$(echo $language | cut -c-2)
@ -45,7 +45,7 @@ if [ $? -ne 0 ]; then # Not found error, trying to cut language variable
# re-create lang variable # re-create lang variable
filepath="mac/$language/$file" filepath="mac/$language/$file"
tmpfilepath=$(echo $filepath | sed 's/ /%20/g') tmpfilepath=$(echo $filepath | sed 's/ /%20/g')
curl -L -f -# -O "${ftpmirror}/${tmpfilepath}" curl -L -f -# -o "${file}" "${ftpmirror}/${tmpfilepath}"
if [ $? -ne 0 ]; then # After that i can say only that user haven't internet connection if [ $? -ne 0 ]; then # After that i can say only that user haven't internet connection
echo "[Error] Can't download file. Check your internet connectivity." echo "[Error] Can't download file. Check your internet connectivity."
exit 1; exit 1;
@ -83,7 +83,18 @@ rm "$file"
# Deleting some not needed files # Deleting some not needed files
rm -r ../FirefoxESR.app/Contents/Library rm -r ../FirefoxESR.app/Contents/Library
rm -r ../FirefoxESR.app/Contents/MacOS/crashreporter.app rm -r ../FirefoxESR.app/Contents/MacOS/crashreporter.app
rm ../FirefoxESR.app/Contents/MacOS/pingsender
rm -r ../FirefoxESR.app/Contents/MacOS/updater.app rm -r ../FirefoxESR.app/Contents/MacOS/updater.app
rm ../FirefoxESR.app/Contents/Resources/browser/blocklist.xml
rm ../FirefoxESR.app/Contents/Resources/browser/crashreporter-override.ini
rm ../FirefoxESR.app/Contents/Resources/browser/features/aushelper@mozilla.org.xpi
rm ../FirefoxESR.app/Contents/Resources/browser/features/firefox@getpocket.com.xpi
rm ../FirefoxESR.app/Contents/Resources/browser/features/followonsearch@mozilla.com.xpi
rm ../FirefoxESR.app/Contents/Resources/browser/features/formautofill@mozilla.org.xpi
rm ../FirefoxESR.app/Contents/Resources/browser/features/jaws-esr@mozilla.org.xpi
rm ../FirefoxESR.app/Contents/Resources/browser/features/onboarding@mozilla.org.xpi
rm ../FirefoxESR.app/Contents/Resources/browser/features/screenshots@mozilla.org.xpi
rm ../FirefoxESR.app/Contents/Resources/precomplete
rm ../FirefoxESR.app/Contents/Resources/removed-files rm ../FirefoxESR.app/Contents/Resources/removed-files
rm ../FirefoxESR.app/Contents/Resources/update* rm ../FirefoxESR.app/Contents/Resources/update*
# And edit some places # And edit some places
@ -117,7 +128,7 @@ curl -L -f -# -O "https://github.com/PurpleI2P/i2pd/releases/download/${i2pdvers
mkdir ../i2pd mkdir ../i2pd
tar xfz i2pd_${i2pdversion}_osx.tar.gz -C ../i2pd tar xfz i2pd_${i2pdversion}_osx.tar.gz -C ../i2pd
mv ../i2pd/i2pd ../i2pd/i2pd-osx mv ../i2pd/i2pd ../i2pd/i2pd-osx
cp -rf i2pd ../i2pd cp -rf i2pd/* ../i2pd
rm "i2pd_${i2pdversion}_osx.tar.gz" rm "i2pd_${i2pdversion}_osx.tar.gz"
echo "... finished" echo "... finished"

2
osx/build/i2pd/i2pd.conf

@ -43,7 +43,7 @@ enabled = true
address = 127.0.0.1 address = 127.0.0.1
port = 7656 port = 7656
[ntcp] [ntcp2]
enabled = true enabled = true
#published = false #published = false
#port = #port =

4
windows/.gitignore vendored

@ -1,2 +1,2 @@
./Firefox /Firefox
./i2pd /i2pd

2
windows/build/i2pd/i2pd.conf

@ -43,7 +43,7 @@ enabled = true
address = 127.0.0.1 address = 127.0.0.1
port = 7656 port = 7656
[ntcp] [ntcp2]
enabled = true enabled = true
#published = false #published = false
#port = #port =

Loading…
Cancel
Save