-
-
Notifications
You must be signed in to change notification settings - Fork 87
Description
Hi FAF developers,
First I'd like to apologize if this is done wrong but I'm pretty green at raising issues with open-source projects. I was trying to build and run this client in my linux system, Kubuntu 20.04.3 but I kept running into an authentication problem while logging in. The problem was it was looking for the "faf-uid.exe" and that wasn't available since I use linux and not windows. I put the "faf-uid" file for linux in the "lib" directory but it still didn't work.
I decided to look through the source code to find the problem. Under "src/util/init.py" there was an error on line 473 where it detects the platform and assigns a path to the variable "exe_path". If the os is "win32" the the variable is set to:
os.path.join(fafpath.get_libdir(), "faf-uid.exe")
but the else clause just has:
exe_path = "faf-uid"
I changed the else clause to:
exe_path = os.path.join(fafpath.get_libdir(), "faf-uid")
and the client was able to log me in. Please make this correction to your code to prevent this error from happening to any future users. Also consider creating an AppImage to distribute this software easily.
Thank you and I apologize again for not understanding how to properly submit bug reports and fixes on Github.