Skip to content

Conversation

ifeldshteyn
Copy link
Contributor

Add open folder buttons in the mod section.

{
if (s_modsRead) { return; }
// Reuse the cached mods unless no mods have been read yet.
if (s_modsRead and s_mods.size() > 0) { return; }
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be && instead of and

modLoader_read();
}

#ifdef _WIN32
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use osShellExecute() from system.h, that way you don't need to include windows.h here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switched to osShellExecute

@luciusDXL luciusDXL merged commit 61999f6 into luciusDXL:master Oct 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants