torbrowser-launcher
torbrowser-launcher copied to clipboard
add post install hooks
As a distribution (and possibly for others) it's useful to run some post install scripts after installing Tor Browser. Examples:
- We create a ~/Downloads folder.
- We disable Tor Browser's internal updater, because it's not as secure yet.
- Possibly in future more such as changing browser homepage.
Could you add a feature please to execute a /etc/tl/post-install
(or so) script please?
Good idea.
I'm pushing this to 0.2.6 because I want to flesh out the feature a bit more first.
Do you think it makes sense to add a setting that lets the user specify a path to execute after successfully installing, but before launching? This way you could bundle an appropriate settings.json
with your distro. Are there any problems with this approach?
Not that I know. Was just looking at this from the Whonix distribution packager viewpoint back then when I wrote this ticket.
An improvement would be /etc/tl-post.d
where one drop scripts. I.e. all executable files matching /etc/tl-post.d/*.sh
would be executed.