Skip to content

Fix keymapConfig.getter recursion#220

Closed
Max-Sum wants to merge 1 commit into
PlayCover:masterfrom
Max-Sum:keymapping-config
Closed

Fix keymapConfig.getter recursion#220
Max-Sum wants to merge 1 commit into
PlayCover:masterfrom
Max-Sum:keymapping-config

Conversation

@Max-Sum
Copy link
Copy Markdown

@Max-Sum Max-Sum commented Apr 18, 2026

On macOS 26.4.1, the following error occurs, leading to a crash on App launch.

dyld → PlayTools initialize → PlayCover.launch()
→ PlayInput.initialize() → ControlMode.initialize()
→ ActionDispatcher.build() → Keymapping.init()
→ Keymapping.loadKeymapData() → keymapConfig.getter
→ PropertyListEncoder.encode() → keymapConfig.getter
→ keymapConfig.getter → (Endless recursion)

PlayCover/PlayCover#2106
PlayCover/PlayCover#2109

This patch fixes it.

@Max-Sum Max-Sum force-pushed the keymapping-config branch from 55f2d09 to b49c98e Compare April 18, 2026 16:34
@Max-Sum Max-Sum closed this Apr 18, 2026
@Max-Sum
Copy link
Copy Markdown
Author

Max-Sum commented Apr 18, 2026

This is not the root cause. See PlayCover/PlayCover#2126
There are also hardcoded user dir path in this project. I will open another PR for that.

@Max-Sum Max-Sum deleted the keymapping-config branch April 18, 2026 19:23
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.

1 participant