SushyDev / vapor-store

Vapor Store
189 stars 20 forks source link

Use the game executable's directory as working directory #43

Closed gersilex closed 3 years ago

gersilex commented 3 years ago

This is how Windows normally starts applications. This fixes the issue with games not starting correctly or acting weird, because by default the games were started with the working directory of the parent process, which is the Vapor Store in this case.

This creates a bit of duplicate code blocks. If you have an idea to refactor this, please feel free to do so or give me instructions.

SushyDev commented 3 years ago

Thanks, this is very helpful. Will implement this in the new vue builds