make autoconnect actually work

This commit is contained in:
aaron
2021-11-23 15:23:42 +01:00
parent e25d9e66fd
commit 951a8daf97
4 changed files with 2 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ RUN tar --strip 1 -xvJf "${TOR_BINARY##*/}" && \
rm "${TOR_BINARY##*/}" "${TOR_SIGNATURE##*/}" rm "${TOR_BINARY##*/}" "${TOR_SIGNATURE##*/}"
# Copy browser cfg # Copy browser cfg
COPY browser-cfg /browser-cfg COPY browser-cfg/user.js /app/TorBrowser/Data/Browser/profile.default/user.js
# Add start script # Add start script
COPY startapp.sh /startapp.sh COPY startapp.sh /startapp.sh

View File

@@ -1,4 +0,0 @@
// Any comment. You must start the file with a single-line comment!
pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);
user_pref("torbrowser.settings.quickstart.enabled", true);

View File

@@ -1,3 +0,0 @@
// Any comment. You must start the file with a comment!
lockPref("javascript.enabled", true);

1
browser-cfg/user.js Normal file
View File

@@ -0,0 +1 @@
user_pref("torbrowser.settings.quickstart.enabled", true);