openmultiplayer / openmultiplayer/launcher

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

Open
#196 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
203
Forks
97
PR merge metrics
No merged PRs in 30d

Description

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).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by launching omp://localhost:7777 from C:\Users\nexius\Desktop\start.bat while the launcher and game are installed under the Steam game folder. Inspect the launcher startup and log-path handling to determine why the batch file's directory is used. Done means omp-launcher.log is created in the game folder when started through the URI scheme.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.