openmultiplayer / launcher

open.mp launcher (currently compatible with samp client)
Mozilla Public License 2.0
117 stars 45 forks source link

`omp-launcher.log` created in the wrong place #196

Open NexiusTailer opened 1 month ago

NexiusTailer commented 1 month ago

omp-launcher.log is being created in the wrong place if I try to start the launcher with omp:// way.

For example, I have a .bat file which is available in C:\Users\nexius\Desktop\start.bat. I also have the game and the launcher installed in D:\SteamLibrary\steamapps\common\Grand Theft Auto San Andreas.

My start.bat file contains the following command:

start omp://localhost:7777

So when I execute this file, it makes omp launcher start, but it also creates .log file in Desktop (where the .bat file is placed) instead of game folder (where the original launcher executable is placed).