Do not require the home directory to be writable
available_languages = [
"ar",
"ca",
+ "cs",
"da",
"de",
+ "el",
"en-US",
+ "es-AR",
"es-ES",
"fa",
"fr",
"ga-IE",
"he",
+ "hu",
"id",
"is",
"it",
"ja",
+ "ka",
"ko",
+ "lt",
+ "mk",
+ "ms",
+ "my",
"nb-NO",
"nl",
"pl",
"pt-BR",
+ "ro",
"ru",
"sv-SE",
+ "th",
"tr",
"vi",
"zh-CN",
self.set_gui(
"error", _("Error creating {0}").format(homedir), [], False
)
- if not os.access(homedir, os.W_OK):
- self.set_gui("error", _("{0} is not writable").format(homedir), [], False)
tbb_config = '{0}/torbrowser'.format(self.get_env('XDG_CONFIG_HOME', '{0}/.config'.format(homedir)))
tbb_cache = '{0}/torbrowser'.format(self.get_env('XDG_CACHE_HOME', '{0}/.cache'.format(homedir)))