Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(desktop): preview browser passkeys unlock with Touch ID on macOS #13857

Closedwestline-jordan(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/13857/headopened View on GitHub

Showing 13 changed files with 104 additions and 14 deletions (loading 10).

x
0 of 13 viewed, 13 left
1 addition and 0 deletionsapps/desktop/src/app/DesktopApp.tsModified
View file
@@ -323,6 +323,7 @@
});
yield* appIdentity.configure;
+ yield* appIdentity.configureWebAuthn;
yield* applicationMenu.configure;
yield* updates.configure;
yield* DesktopRemoteUpdates.listen;
77 additions and 0 deletionsapps/desktop/src/app/DesktopAppIdentity.test.tsModified
View file
@@ -32,6 +32,7 @@
};
​
interface ElectronAppCalls {
+ readonly configureWebAuthn: Array<Electron.ConfigureWebAuthnOptions>;
readonly setAboutPanelOptions: Array<Electron.AboutPanelOptionsOptions>;
readonly setDockIcon: string[];
readonly setName: string[];
@@ -63,6 +64,10 @@
Effect.sync(() => {
calls.setDockIcon.push(iconPath);
}),
+ configureWebAuthn: (options) =>
+ Effect.sync(() => {
+ calls.configureWebAuthn.push(options);
+ }),
appendCommandLineSwitch: () => Effect.void,