keans / woice

A small python script that helps to connect to the WiFiOnICE network on ICE trains.
MIT License
4 stars 3 forks source link

Feature Request: Make NetworkManager-script distribution-ready. #2

Closed dreirund closed 11 months ago

dreirund commented 2 years ago

I have made an Arch Linux package of this.

Feature requests:

I have attached the patch to examples/wifionice.sh that I personally use. Note that I have hardcoded WOICE="/usr/bin/woice" there, since I am not familiar with python setuptools: nm-wifionice.sh-distributionready.patch.txt. It has also some other changes (mostly adding ", and removing spourious whitespace).

Regards!

keans commented 2 years ago

Thanks for your proposal. I have added your changes to the master branch. I can currently not test it, but feel free to give corresponding feedback.

dreirund commented 12 months ago

Thanks for your proposal. I have added your changes to the master branch. I can currently not test it, but feel free to give corresponding feedback.

Thanks.

WOICE="/usr/local/bin/woice" is still static. Can you make WOICE="`which woice`", or just simply WOICE=woice?

Patch: remove-nm-dispatcher-woice-path-hardcoding.patch.txt.

Regards!

keans commented 11 months ago

Added which variant to detect place where woice is installed.