From 552a7cdbd3f5edb063873338dda88a289ecd5162 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Tue, 25 Apr 2017 19:05:34 +0300 Subject: [PATCH] change configs type Former-commit-id: d4ca29e8100a70d1a512863dccddbf29a5674ce3 --- linux/build/build.sh | 4 +++- .../{configs/prefs.js => preferences/syspref.js} | 0 linux/build/{configs => profile}/bookmarks.html | 0 linux/build/profile/prefs.js | 12 ++++++++++++ linux/build/{configs => profile}/xulstore.json | 0 5 files changed, 15 insertions(+), 1 deletion(-) rename linux/build/{configs/prefs.js => preferences/syspref.js} (100%) rename linux/build/{configs => profile}/bookmarks.html (100%) create mode 100644 linux/build/profile/prefs.js rename linux/build/{configs => profile}/xulstore.json (100%) diff --git a/linux/build/build.sh b/linux/build/build.sh index bdae74e..8d44206 100755 --- a/linux/build/build.sh +++ b/linux/build/build.sh @@ -86,7 +86,9 @@ curl -L -f -# -O https://addons.mozilla.org/firefox/downloads/latest/noscript/ad mv addon-722-latest.xpi ../app/browser/extensions/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi echo "Adding standart configs..." -cp configs/* ../data/ +cp profile/* ../data/ +mkdir -p ../app/browser/defaults +cp preferences ../app/browser/defaults echo '#!/bin/sh' > "../${application}-portable" echo 'dir=${0%/*}' >> "../${application}-portable" diff --git a/linux/build/configs/prefs.js b/linux/build/preferences/syspref.js similarity index 100% rename from linux/build/configs/prefs.js rename to linux/build/preferences/syspref.js diff --git a/linux/build/configs/bookmarks.html b/linux/build/profile/bookmarks.html similarity index 100% rename from linux/build/configs/bookmarks.html rename to linux/build/profile/bookmarks.html diff --git a/linux/build/profile/prefs.js b/linux/build/profile/prefs.js new file mode 100644 index 0000000..af938e0 --- /dev/null +++ b/linux/build/profile/prefs.js @@ -0,0 +1,12 @@ +# Mozilla User Preferences + +/* Do not edit this file. + * + * If you make changes to this file while the browser is running, + * the changes will be overwritten when the browser exits. + * + * To make a manual change to preferences, you can visit the URL about:config + * For more information, see http://www.mozilla.org/unix/customizing.html#prefs + */ + +user_pref("browser.startup.homepage", "http://i2pd.i2p/"); \ No newline at end of file diff --git a/linux/build/configs/xulstore.json b/linux/build/profile/xulstore.json similarity index 100% rename from linux/build/configs/xulstore.json rename to linux/build/profile/xulstore.json