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

Support discord uri scheme #813

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Conversation

Covkie
Copy link

@Covkie Covkie commented Aug 13, 2024

closes: #769

Could someone on mac confirm this works as well? (I followed the electron docs so im like pretty sure it works but 🥴)

src/main/mainWindow.ts Outdated Show resolved Hide resolved
attempt to cover malformed or incomplete uris

Use RegExp to avoid escape character hell
@rynmy
Copy link

rynmy commented Sep 11, 2024

Confirmed Working on macOS Sonoma 14.6 via open discord://
(tho it reloads the client, could be from invalid url)

Covkie and others added 3 commits September 11, 2024 17:34
also consolidated restore function
Discord handles incorrect schemes pretty well but `discord:///settings` is a case where it doesn't, so this may be needed to ensure user experience
src/main/index.ts Outdated Show resolved Hide resolved
src/main/ipc.ts Outdated Show resolved Hide resolved
src/main/mainWindow.ts Outdated Show resolved Hide resolved
src/main/mainWindow.ts Outdated Show resolved Hide resolved
src/main/mainWindow.ts Outdated Show resolved Hide resolved
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.

[Feature Request] Implement discord:// scheme / protocol
4 participants