Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move keybinds file to be with the init file #135

Merged
merged 16 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Keybinds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ void parseKeymapLine( string line )

bool loadKeymapFile(){
string line;
std::filesystem::path path = std::filesystem::path{} / "stonesense" / "keybinds.txt";
std::filesystem::path path = std::filesystem::path{} / "dfhack-config" / "stonesense" / "keybinds.txt";
ifstream myfile (path);
if (myfile.is_open() == false) {
LogError( "cannot find keybinds file\n" );
Expand Down
realSquidCoder marked this conversation as resolved.
Show resolved Hide resolved
File renamed without changes.
1 change: 1 addition & 0 deletions docs/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Template for new versions:
## Fixes

## Misc Improvements
- `stonesense`: ``keybinds.txt`` config file is now read from ``dfhack-configs/stonesense/keybinds.txt``
realSquidCoder marked this conversation as resolved.
Show resolved Hide resolved

## Removed

Expand Down
Loading