add encrypted Nostr session sharing (#8922)
Signed-off-by: callebtc <93376500+callebtc@users.noreply.github.com> Signed-off-by: Douwe Osinga <douwe@squareup.com> Signed-off-by: Michael Neale <michael.neale@gmail.com> Co-authored-by: Douwe Osinga <douwe@squareup.com> Co-authored-by: Michael Neale <michael.neale@gmail.com>
This commit is contained in:
@@ -511,7 +511,7 @@ app.on('open-url', async (_event, url) => {
|
||||
if (process.platform !== 'win32') {
|
||||
const parsedUrl = new URL(url);
|
||||
|
||||
log.info('[Main] Received open-url event:', url);
|
||||
log.info('[Main] Received open-url event:', url.includes('key=') ? url.replace(/key=[^&]+/, 'key=REDACTED') : url);
|
||||
|
||||
await app.whenReady();
|
||||
|
||||
@@ -540,7 +540,7 @@ app.on('open-url', async (_event, url) => {
|
||||
|
||||
// For extension/session URLs, store the deep link for processing after React is ready
|
||||
pendingDeepLink = url;
|
||||
log.info('[Main] Stored pending deep link for processing after React ready:', url);
|
||||
log.info('[Main] Stored pending deep link for processing after React ready:', url.includes('key=') ? url.replace(/key=[^&]+/, 'key=REDACTED') : url);
|
||||
|
||||
const existingWindows = BrowserWindow.getAllWindows();
|
||||
if (existingWindows.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user