Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Installer script #70

Open
ficcdaf opened this issue Dec 8, 2024 · 2 comments
Open

Feat: Installer script #70

ficcdaf opened this issue Dec 8, 2024 · 2 comments

Comments

@ficcdaf
Copy link

ficcdaf commented Dec 8, 2024

I think an installer script for Linux users would be nice, especially in the case of wanting to update our installation of textfox. Otherwise, needing to manually clone the repo and copy the files over to our profile every time is a bit tedious. It would really only need a git clone, and then cp -rf chrome user.js $firefox_profile_dir.

If you think it's a good idea, I'm happy to write a bash script that does this and submit a PR. Just let me know!

@adriankarlen
Copy link
Owner

I am not against this idea, however I do feel that with installer scripts comes some scares to me, like overwriting peoples configs. If you find a way to remotely download the chrome directory, and user.js without overwriting the users config.css file I am open to it.

@ficcdaf
Copy link
Author

ficcdaf commented Dec 13, 2024

Since the config.css file isn't actually inside the repository, cp -rf chrome won't actually overwrite it. However, I could also add a check for whether a config.css file already exists and explicitly forbid overwriting it. I'll also automatically back up the firefox profile in case the user isn't happy with textfox and wants to switch it back. I will give writing a script like this a shot :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants