These are chat archives for Nithmr/ProxyHelper

25th
Jun 2016
Utkarsh Raj
@clearnote01
Jun 25 2016 08:29 UTC
@Akarshit I was thinking of auto-update... if we had a local repository on user's computer it would make it super easy. Say... we can move the git clone to /usr/bin or something like that, it would make torpinger/surely_parallel behave like a installed script which I believe is awesome as it is cool just on its own. Like they can type zetproxy None straight anywhere in terminal to reset proxy manually, etc, etc. These are pretty nice and powerful as it allows people to have a manual control on ProxyHelper interface as well.
But it also makes auto update as simple as .... cd to the directory in bin, run git pull master origin and ./install.sh
Akshendra Pratap Singh
@akshendra
Jun 25 2016 09:49 UTC
You don't have to place the whole directory in /usr/bin. Keep it in home, maybe .proxyhelper and add the path of the script to bashrc or the PATH variable
Keeping in /usr/bin will require sudo permission and every update will require sudo permission
Utkarsh Raj
@clearnote01
Jun 25 2016 09:50 UTC
Well we can do what you said...
but install script requires sudo anyway
we are putting things in /etc/ which requires sudo
every script accept torpinger requires sudo
but you are right, adding to the PATH is much simpler
should I go forward with this idea?
Akshendra Pratap Singh
@akshendra
Jun 25 2016 09:54 UTC
Yeah the script would require sudo, for that /etc/ would be better
Or you can create a symlink of the main script in /usr/bin and keep the files somewhere else
Utkarsh Raj
@clearnote01
Jun 25 2016 09:55 UTC
~/.ProxyHelper kinda place
I think, we have to do by symlinks only
having install.sh and uninstall.sh in PATH is not only stupid but also prolly dangerous
we can create symlinks for torpinger and zetproxy. and leave others as it is
btw, i hv never used symlinks to put things in /usr/bin does it work okay?
Akshendra Pratap Singh
@akshendra
Jun 25 2016 09:57 UTC
Yeah something like that would be good
Utkarsh Raj
@clearnote01
Jun 25 2016 09:58 UTC
awesome... it makes auto-update so much easier.
Akshendra Pratap Singh
@akshendra
Jun 25 2016 09:59 UTC
It works, lot of programs in /usr/bin are symlinks
Utkarsh Raj
@clearnote01
Jun 25 2016 10:08 UTC
cool
Utkarsh Raj
@clearnote01
Jun 25 2016 15:49 UTC
Auto update feature
#17
Completely changed the installation process. Some README changes