Fortigate / AutoAFK

AFK Arena Automation
17 stars 10 forks source link

Add partial support of others OSes #26

Closed na-ji closed 9 months ago

na-ji commented 9 months ago

Hello,

I fixed a few things to make AutoAFK compatible with others systems. Basically, the main issue when running AutoAFK is that it used anti slash for paths instead of slash. Modern Windows is compatible with slashes, but just in case, I've used Python's API to join paths. Instead of using adb.exe on others OSes, it now uses the adb available in the PATH. Also, I've added a requirements.txt file for an easy installation with pip. And I gitignored the path usually used for venv, and also for compiled files.

Now there is also another thing I noticed, that I might fix in another PR:

Thank you.