-
-
Notifications
You must be signed in to change notification settings - Fork 13
Register and handle cyd:// URLs #372
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
Merged
Merged
Changes from 19 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
f3dbc7b
Register and handle cyd:// URLs
micahflee ac59b88
Switch from protocol to deep links
micahflee 8b21e22
Handle deep links for both Mac and Windows/Linux
micahflee ab385f1
Queue cyd:// links and process them after that app is ready
micahflee c0fd8bc
Open the app with cyd:// path /
micahflee 61582ab
Update packaging to support cyd:// and cyd-dev:// URLs
micahflee 7cd8530
Move logging to the top of main.ts
micahflee 5a2d45e
Actually, move logging to below loading config and setting the app name
micahflee 29b255e
Add a debug log
micahflee c7ac8f2
Automatically log to disk when running not prod
micahflee fcd78d4
Add Cyd URLs to queue from both open-url event (macOS) and second-ins…
micahflee 5287dbe
If the last arg is cyd:// URL, pass it into app.setAsDefaultProtocolC…
micahflee edc21d7
Try manually calling initial openCydURL in Windows and Linux if necce…
micahflee 2742eb9
Try adding protocol.registerSchemesAsPrivileged to see if Windows wil…
micahflee a3e61c9
Remove protocol.registerSchemesAsPrivileged because it does not help …
micahflee 0bcf611
Fix lint
micahflee a1fa1cc
Set logging to debug for everything but prod
micahflee 0a78539
Update src/main.ts
micahflee 77b1416
Skip code signing when making a macOS build that will not be published
micahflee 9acc031
Support the two Cyd URLs cyd://open/ and cyd://social.cyd.api/atproto…
micahflee 1e41e2e
Merge branch '370-protocol-handler' of github.com:lockdown-systems/cy…
micahflee d8e8e6c
Merge branch 'main' into 370-protocol-handler
micahflee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| #!/bin/sh | ||
| export CYD_ENV=dev | ||
| export DEBUG=electron-packager,electron-universal,electron-forge*,electron-installer* | ||
| export MACOS_RELEASE=false | ||
|
|
||
| ./scripts/clean.sh | ||
| electron-forge make --arch universal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| #!/bin/sh | ||
| export CYD_ENV=local | ||
| export DEBUG=electron-packager,electron-universal,electron-forge*,electron-installer* | ||
| export MACOS_RELEASE=false | ||
|
|
||
| ./scripts/clean.sh | ||
| electron-forge make --arch universal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| #!/bin/sh | ||
| export CYD_ENV=prod | ||
| export DEBUG=electron-packager,electron-universal,electron-forge*,electron-installer* | ||
| export MACOS_RELEASE=false | ||
|
|
||
| ./scripts/clean.sh | ||
| electron-forge make --arch universal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| #!/bin/sh | ||
| export CYD_ENV=dev | ||
| export DEBUG=electron-packager,electron-universal,electron-forge*,electron-installer* | ||
| export MACOS_RELEASE=true | ||
|
|
||
| ./scripts/clean.sh | ||
| electron-forge publish --arch universal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| #!/bin/sh | ||
| export CYD_ENV=prod | ||
| export DEBUG=electron-packager,electron-universal,electron-forge*,electron-installer* | ||
| export MACOS_RELEASE=true | ||
|
|
||
| ./scripts/clean.sh | ||
| electron-forge publish --arch universal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.