Skip to content

Conversation

TheMoonThatRises
Copy link
Member

@TheMoonThatRises TheMoonThatRises commented Oct 8, 2023

Fixes #1112 and requires PlayCover/PlayTools#126, PlayCover/SwordRPC#1. The fix is to symbolically link the discord-ipc socket "file" to the app's own temporary directory in ~/Library/Containers/[App ID]/Data/tmp at the initialisation of each app model. In order to accomplish this, some of the functions and models have been changed, such as the enumerate function in FileManager and the AppContainer model itself. Along with that, the PlayAppExtensions.swift file was created to avoid going over the line limit for PlayApp with SwiftLint.

@JoseMoreville
Copy link
Member

Reading this

@JoseMoreville JoseMoreville merged commit b8b75b1 into PlayCover:develop Nov 2, 2023
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.

[Bug]: Discord Rich Presence does not work
2 participants