WIP: neutralino linux

This commit is contained in:
Julien Maille 2026-02-10 23:00:58 +01:00
parent f6dae2223f
commit 8afb4a4c6d

View file

@ -52,7 +52,9 @@ export class AuthManager {
try {
// Check for Linux environment (Neutralino) where popups are often blocked
if (window.NL_OS === 'Linux') {
// Also check User Agent as fallback since NL_OS might not be set if init skipped
if (window.NL_OS === 'Linux' || navigator.userAgent.includes('Linux')) {
console.log('Linux environment detected, using signInWithRedirect');
await signInWithRedirect(auth, provider);
// The page will redirect, so no return value needed immediately
return;