FaradayRF / Faraday-Software

Faraday node software
https://www.faradayrf.com
Other
48 stars 19 forks source link

Fix Master to Run From Command Line #200

Closed kb1lqc closed 7 years ago

kb1lqc commented 7 years ago

Master has been broken for a few days. Honestly not sure how it happened and we could use blame to figure out but not really worth the time. Likely some confusion on moving to packages.

Problem: You couldn't run Faraday Master Software from the command line by calling

Solution: I added os.path imports to use the __file__ path which uses the directory the module was imported from as the starting point. This would be the faraday folder in all current cases. This should also future proof us and make it easier for packaging modules as we're currently having a heck of time moving to them!

I did not bother update any other applications at this time in effort to get this right for packaging. One step at a time.

kb1lqc commented 7 years ago

Hmm this PR seems irrelevant with the new packaging. Might as well just push towards completion with packaging.

kb1lqc commented 7 years ago

As of PR #219 all applications now start from command line. This PR is irrelevant and the methodology is no longer used. Closing.