9 lines
337 B
TypeScript
9 lines
337 B
TypeScript
export function shouldUseSecureWorksSquareSessionPersistence(
|
|
isPackaged: boolean,
|
|
): boolean {
|
|
// An unpackaged Electron binary does not have the stable code identity that
|
|
// macOS Keychain requires. Keep development credentials in memory so local
|
|
// startup never creates or opens an OS credential item.
|
|
return isPackaged;
|
|
}
|