diff --git a/apps/readest-app/src/utils/ua.ts b/apps/readest-app/src/utils/ua.ts index 07b4b399..8918ec7c 100644 --- a/apps/readest-app/src/utils/ua.ts +++ b/apps/readest-app/src/utils/ua.ts @@ -21,7 +21,7 @@ export const parseWebViewVersion = (appService: AppService | null): string => { return match ? `Edge ${match[1]}` : 'Edge WebView2'; } else if (appService?.appPlatform === 'tauri' && appService?.osPlatform === 'linux') { // Linux WebView - const match = ua.match(/Chromium\/([0-9.]+)/); + const match = ua.match(/AppleWebKit\/([0-9.]+)/); return match ? `WebView ${match[1]}` : 'Linux WebView'; } else if (ua.includes('CriOS') && ua.includes('Mobile/') && ua.includes('Safari')) { // iOS Chrome WebView