-
Notifications
You must be signed in to change notification settings - Fork 58
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
Automatic installation to profile folder #91
Comments
Really like the idea! That would really help simplify things. Maybe we could expand it a bit by doing the following?
And I really appreciate all the regex help you've provided :) |
Those additional checks are a good idea! Also I think it would be a good idea to merge the linux/max updater scripts, they are quite similar. if [ "$(uname)" == "Darwin" ]; then
# Do something under Mac OS X platform
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
# Do something under GNU/Linux platform
fi I don't know if there is a way to append flags to a command, i.e. |
Great idea!! I didn't think of doing that. The sed commands are (I think?) the only difference that I had to deal with |
I did a few simple tests using Also the newline 'problem' is easily bypassed by just echoing a blank line e.g. echo "line 1"
echo "" instead of |
The only one that I was getting stuck on was replacing "in place"
I don't currently have a linux distro to test on, so I've only been able to go off what I found online and some error codes someone provided me when I originally had the two scripts together in #62. Thanks for the link! I'll give it a look Edit: could call on the |
I'll also have a look into |
Looks like this might be the way to go for https://stackoverflow.com/questions/5694228/sed-in-place-flag-that-works-both-on-mac-bsd-and-linux Would just have to clean up the .bak files |
Just stumbled upon on the same solution!
creates
Well that at least makes it compatible across both platforms! |
According to one of the comments there it has to be Would have to find out if that also works on LInux and pre-Sierra OSs. Might be best to just use the |
Currently I am on high sierra and I don't need the sed -i.bak '/--start-indicator-for-updater-scripts: black;/,/--end-indicator-for-updater-scripts: black;/{//!d;}' userContent.css works fine for me (also works under I agree that the safest would be using the |
Interesting it works on high sierra - wonder it that user was just wrong or something was just changed from sierra to hs. Either way, let's go with the if statements I think. Better safe than sorry and I don't think that'll be a huge problem. |
Tomorrow I will be around another computer running Sierra, I'll test it there and report back. |
Thanks! On a random note: I've been considering creating a Slack or Keybase group (or something similar) for this project...might be a nice place for convos like this/sharing code snippets without blasting people's email who are "watching" the repo. Do you use anything of the sort/would that be of interest to ya? Or prefer sticking GitHub? |
I am slightly familiar with Slack so I could join your channel. |
I've used Slack a little (not a ton), but haven't used IRC or Discord. I'm guessing the latter two are a bit more popular though...seem to hear them pop up pretty often. Any preference/suggestion? |
We could use Slack for starters and see how well that goes, could always decide to migrate if it doesn't work out. |
Here's the invitation link for anyone who would like. I'll get it added to README.md file shortly |
I have to think about issue #84 a little longer to come up with some suggestions which might be good to implement.
On the other hand, I was thinking about automatically "installing" ShadowFox under the default profile.
This would work if the user want their
*.default
profile to be the one where ShadowFox is applied towhich I think will be the case for most people, and those who don't will have more knowledge about
profiles and can adjust accordingly.
Something I use for example would be
Now you have the path and profileID of the default profile, with which we can
adjust the mac updater script so the user only needs to download the updater script
and everything will be installed automatically.
Everything would only have to be prepended by $profile.
What do you think?
I would assume it's similar on linux, don't know about windows.
p.s.: I am learning a tonne on the regex department because of this project, thanks! haha
The text was updated successfully, but these errors were encountered: