Skip to content

fix data.db path on linux#296

Merged
taysta merged 1 commit intotaysta:masterfrom
judas-priest:fix/sqlite-path-linux
Mar 18, 2026
Merged

fix data.db path on linux#296
taysta merged 1 commit intotaysta:masterfrom
judas-priest:fix/sqlite-path-linux

Conversation

@judas-priest
Copy link
Copy Markdown

data.db path is built without fs_homepath so it ends up relative ("taystjk/data.db"). on linux the working dir is usually not the game folder so sqlite can't find it.

added fs_homepath to make it absolute. also bumped LOCAL_DB_PATH from MAX_QPATH to MAX_OSPATH since 64 bytes won't fit a full path.

fixes #295

@taysta taysta merged commit 5fb3baa into taysta:master Mar 18, 2026
14 checks passed
@taysta
Copy link
Copy Markdown
Owner

taysta commented Mar 18, 2026

Thank you for the contribution :)

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.

SQLite data.db doesn't open on Linux

2 participants