diff --git a/README.md b/README.md index 9c42a07..a572e14 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Closing the window keeps FileBow in the system tray by default, so the shortcuts ## Local by default -File processing happens on your PC. FileBow has no account requirement, telemetry or job limit. Settings and optional job history stay in your Windows user profile. Support and issue links open external websites only when selected. +File processing happens on your PC. FileBow has no account requirement, telemetry or job limit. Settings and optional job history stay in your Windows user profile. Support and feedback links open your browser or mail app only when selected. ## Availability @@ -63,7 +63,7 @@ See [copyright and scope](COPYRIGHT.md). Bundled third-party components retain t ## Feedback -Missing a feature or found a bug? [Open an issue](https://git.nordik.dev/nordik/FileBow/issues). +Missing a feature or found a bug? [Email filebow@nordik.dev](mailto:filebow@nordik.dev). ## Support development diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index 5f8d218..d1cbe91 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -35,6 +35,8 @@ pnpm build:store - `out/msix/FileBow_1.0.0.0_x64_Development.msix`: signed with a local development certificate. - `out/msix/FileBow_1.0.0.0_x64_Store.msix`: unsigned Store submission package using `store/identity.store.json`. +For a separate portable test build while the normal build is running, set `FILEBOW_BUILD_OUT=out/tab-fix` before `pnpm build`. MSIX packaging uses the default `out/FileBow-win32-x64` build. + To install the development package in a Windows test environment, run `scripts/install-development.ps1` from an elevated PowerShell. It verifies the recorded package hash, trusts the supplied development certificate and installs the package. It is not a Store installation script. Building a package does not install it or trust its certificate system-wide. ## Verify @@ -56,6 +58,12 @@ node scripts/capture-wheel.cjs The worker tests check real conversions, encryption, image transparency, estimates, filename collisions and unchanged originals. UI checks use an isolated profile with global shortcuts and drag monitoring disabled. Screenshot capture uses sample files only. Local logs are in `test-results`. +### Explorer tab selection + +Build the Windows helper, then open two Explorer tabs containing different test files. Select a file in each tab and keep the second tab in the foreground. Run `node tests/explorer-selection.cjs --expect C:/path/to/second-file.txt` from an external test runner that does not take focus. Use repeated `--expect` arguments for multiple files or `--empty` after clearing the active tab's selection. Test switching back to the first tab while another Explorer window is open. `--log test-results/selection.json` records the result; `--helper path/to/FileBow.Windows.exe` checks a specific build. + +The helper matches the active tab's shell-browser window handle, since tabs share the top-level Explorer window handle. If the foreground window or tab changes during the read, it returns an empty selection. + ## Structure | Path | Purpose | @@ -64,7 +72,7 @@ The worker tests check real conversions, encryption, image transparency, estimat | `src/renderer` | Main interface, editors and radial menu | | `src/preload` | Narrow IPC bridges for isolated renderers | | `engine/filebow_engine.py` | Local conversion worker and JSON-lines protocol | -| `native/Program.cs` | Explorer selection, drag detection and Windows startup integration | +| `native/Program.cs`, `native/ExplorerSelection.cs` | Explorer selection, drag detection and Windows startup integration | | `scripts` | Runtime, application, package and screenshot builds | | `store` | Store identity, listing drafts, assets and submission checklist | diff --git a/docs/releases/v1.0.0-rc.1.md b/docs/releases/v1.0.0-rc.1.md index 44f0330..630eef3 100644 --- a/docs/releases/v1.0.0-rc.1.md +++ b/docs/releases/v1.0.0-rc.1.md @@ -38,4 +38,4 @@ Download `SHA256SUMS.txt` and compare its ZIP checksum with: Get-FileHash .\FileBow-1.0.0-rc.1-win-x64.zip -Algorithm SHA256 ``` -Missing a feature or found a bug? [Open an issue](https://git.nordik.dev/nordik/FileBow/issues). +Missing a feature or found a bug? [Email filebow@nordik.dev](mailto:filebow@nordik.dev). diff --git a/native/ExplorerSelection.cs b/native/ExplorerSelection.cs new file mode 100644 index 0000000..bff9f67 --- /dev/null +++ b/native/ExplorerSelection.cs @@ -0,0 +1,114 @@ +using System.Runtime.InteropServices; + +internal static class ExplorerSelection +{ + [DllImport("user32.dll")] static extern IntPtr GetForegroundWindow(); + [DllImport("user32.dll", CharSet = CharSet.Unicode)] + static extern IntPtr FindWindowEx(IntPtr parent, IntPtr after, string className, string? title); + [DllImport("user32.dll")] [return: MarshalAs(UnmanagedType.Bool)] + static extern bool IsWindowVisible(IntPtr window); + + static readonly Guid TopLevelBrowser = new("4C96BE40-915C-11CF-99D3-00AA004AE837"); + static readonly Guid ShellBrowser = new("000214E2-0000-0000-C000-000000000046"); + + [ComImport, Guid("6D5140C1-7436-11CE-8034-00AA006009FA")] + [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] + interface IServiceProvider + { + [PreserveSig] + int QueryService(in Guid service, in Guid iid, [MarshalAs(UnmanagedType.Interface)] out object? result); + } + + // IShellBrowser inherits IOleWindow. Only its first vtable method is needed. + [ComImport, Guid("000214E2-0000-0000-C000-000000000046")] + [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] + interface IShellBrowser + { + [PreserveSig] int GetWindow(out IntPtr window); + } + + static IntPtr ActiveTab(IntPtr frame) + { + // Explorer places the active ShellTabWindowClass first in child z-order. + // Skip hidden children during a tab switch; do not use the tab caption or path. + IntPtr tab = IntPtr.Zero; + while ((tab = FindWindowEx(frame, tab, "ShellTabWindowClass", null)) != IntPtr.Zero) + if (IsWindowVisible(tab)) return tab; + return IntPtr.Zero; + } + + static IntPtr TabOf(object window) + { + object? browser = null; + try { + if (window is not IServiceProvider provider) return IntPtr.Zero; + if (provider.QueryService(TopLevelBrowser, ShellBrowser, out browser) < 0 || browser is not IShellBrowser shellBrowser) + return IntPtr.Zero; + return shellBrowser.GetWindow(out var tab) >= 0 ? tab : IntPtr.Zero; + } finally { Release(browser); } + } + + static void Release(object? value) + { + if (value != null && Marshal.IsComObject(value)) Marshal.ReleaseComObject(value); + } + + internal static string[] Read() + { + IntPtr frame = GetForegroundWindow(); + if (frame == IntPtr.Zero) return []; + IntPtr activeTab = ActiveTab(frame); + object? shell = null, windows = null, selectedWindow = null; + try { + shell = Activator.CreateInstance(Type.GetTypeFromProgID("Shell.Application")!); + windows = ((dynamic)shell!).Windows(); + int count = ((dynamic)windows).Count; + for (int index = 0; index < count; index++) { + object? candidate = ((dynamic)windows).Item(index); + try { + if (candidate == null || new IntPtr((long)((dynamic)candidate).HWND) != frame) continue; + // All tabs share IWebBrowser2.HWND. Match the tab's own shell + // browser HWND before reading its selection, including empty selections. + if (activeTab != IntPtr.Zero && TabOf(candidate) != activeTab) continue; + // On systems without tab windows, only accept an unambiguous frame. + if (selectedWindow != null) return []; + selectedWindow = candidate; + candidate = null; + } catch (COMException) { } + finally { Release(candidate); } + } + if (selectedWindow == null) return []; + var files = ReadItems(selectedWindow); + // A switch or close during COM calls must never use a stale tab's files. + if (GetForegroundWindow() != frame || ActiveTab(frame) != activeTab) return []; + return files; + } catch { return []; } + finally { + Release(selectedWindow); + Release(windows); + Release(shell); + } + } + + static string[] ReadItems(object window) + { + var files = new List(); + object? document = null, items = null; + try { + document = ((dynamic)window).Document; + items = ((dynamic)document).SelectedItems(); + int count = ((dynamic)items).Count; + for (int index = 0; index < count; index++) { + object? item = ((dynamic)items).Item(index); + try { + string file = ((dynamic)item!).Path; + if (File.Exists(file)) files.Add(file); + } finally { Release(item); } + } + return files.Distinct(StringComparer.OrdinalIgnoreCase).ToArray(); + } finally { + Release(items); + Release(document); + } + } +} diff --git a/native/Program.cs b/native/Program.cs index c8de53e..378fd4a 100644 --- a/native/Program.cs +++ b/native/Program.cs @@ -5,7 +5,6 @@ using Windows.ApplicationModel; internal static class Program { - [DllImport("user32.dll")] static extern IntPtr GetForegroundWindow(); [DllImport("user32.dll")] static extern short GetAsyncKeyState(int key); [DllImport("user32.dll")] static extern bool GetCursorPos(out Point point); [DllImport("user32.dll")] static extern bool SetProcessDpiAwarenessContext(IntPtr context); @@ -80,39 +79,5 @@ internal static class Program Application.Run(); } - static string[] Selection() - { - var files = new List(); - object? shell = null, windows = null; - try { - shell = Activator.CreateInstance(Type.GetTypeFromProgID("Shell.Application")!); - windows = ((dynamic)shell!).Windows(); - IntPtr foreground = GetForegroundWindow(); - foreach (object window in (dynamic)windows) { - object? document = null, items = null; - try { - if (new IntPtr((long)((dynamic)window).HWND) != foreground) continue; - document = ((dynamic)window).Document; - items = ((dynamic)document).SelectedItems(); - foreach (object item in (dynamic)items) { - try { - string file = ((dynamic)item).Path; - if (File.Exists(file)) files.Add(file); - } finally { Marshal.ReleaseComObject(item); } - } - break; - } catch (COMException) { } - finally { - if (items != null) Marshal.ReleaseComObject(items); - if (document != null) Marshal.ReleaseComObject(document); - Marshal.ReleaseComObject(window); - } - } - } catch { } - finally { - if (windows != null) Marshal.ReleaseComObject(windows); - if (shell != null) Marshal.ReleaseComObject(shell); - } - return files.Distinct(StringComparer.OrdinalIgnoreCase).ToArray(); - } + static string[] Selection() => ExplorerSelection.Read(); } diff --git a/scripts/build.cjs b/scripts/build.cjs index c74cb6f..a4ceaab 100644 --- a/scripts/build.cjs +++ b/scripts/build.cjs @@ -1,9 +1,10 @@ const fs=require('node:fs'),path=require('node:path'); const root=path.resolve(__dirname,'..'); +const buildOutput=path.resolve(root,process.env.FILEBOW_BUILD_OUT||'out'); (async()=>{ const {packager}=await import('@electron/packager'); for(const file of ['vendor/engine/FileBowEngine.exe','vendor/windows/FileBow.Windows.exe','vendor/ffmpeg/ffmpeg.exe','LICENSE','COPYRIGHT.md','licenses/FileBow-LICENSE.txt','licenses/THIRD_PARTY.html'])if(!fs.existsSync(path.join(root,file)))throw new Error(`Build prerequisite missing: ${file}`); - const output=await packager({dir:root,name:'FileBow',executableName:'FileBow',platform:'win32',arch:'x64',electronVersion:'43.7.0',out:path.join(root,'out'),overwrite:true,asar:false, + const output=await packager({dir:root,name:'FileBow',executableName:'FileBow',platform:'win32',arch:'x64',electronVersion:'43.7.0',out:buildOutput,overwrite:true,asar:false, icon:path.join(root,'assets/icon.ico'),appVersion:require('../package.json').version, win32metadata:{ProductName:'FileBow',FileDescription:'FileBow – File tools',InternalName:'FileBow',OriginalFilename:'FileBow.exe'}, ignore:[/^\/(?:\.venv|\.git|build|out|test-results|tests|scripts|native|store|engine|node_modules)(?:\/|$)/,/^\/(?:FEATURE_PARITY|VALIDATION)\.md$/i,/\/\.gitignore$/,/default-docx-template(?:\/|$)/,/\.pyc$/,/\.pdb$/,/requirements\./,/pnpm/,/^\/vendor\/native(?:\/|$)/], diff --git a/src/main.cjs b/src/main.cjs index cbec757..e04c596 100644 --- a/src/main.cjs +++ b/src/main.cjs @@ -178,7 +178,7 @@ function registerIpc() { handle('state', publicState); handle('licenses', () => shell.openPath(path.join(app.getAppPath(), 'licenses/THIRD_PARTY.html'))); handle('support', () => shell.openExternal('https://ko-fi.com/E0Z827VO8I')); - handle('issues', () => shell.openExternal('https://git.nordik.dev/nordik/FileBow/issues')); + handle('contact', () => shell.openExternal('mailto:filebow@nordik.dev')); handle('pick', async () => { const result = await dialog.showOpenDialog(mainWindow, { title: 'Choose files', properties: ['openFile', 'multiSelections'] }); if (!result.canceled) { selected = validFiles(result.filePaths); publish(); } diff --git a/src/preload/home.cjs b/src/preload/home.cjs index bfcc322..a0a5e38 100644 --- a/src/preload/home.cjs +++ b/src/preload/home.cjs @@ -1,7 +1,7 @@ const { contextBridge, ipcRenderer, webUtils } = require('electron'); contextBridge.exposeInMainWorld('orbit', { support: () => ipcRenderer.invoke('orbit:support'), - issues: () => ipcRenderer.invoke('orbit:issues'), + contact: () => ipcRenderer.invoke('orbit:contact'), licenses: () => ipcRenderer.invoke('orbit:licenses'), state: () => ipcRenderer.invoke('orbit:state'), pickFiles: () => ipcRenderer.invoke('orbit:pick'), diff --git a/src/renderer/home/index.html b/src/renderer/home/index.html index 69ac857..35241b7 100644 --- a/src/renderer/home/index.html +++ b/src/renderer/home/index.html @@ -21,5 +21,5 @@

- + diff --git a/src/renderer/home/index.js b/src/renderer/home/index.js index fd90640..192bf55 100644 --- a/src/renderer/home/index.js +++ b/src/renderer/home/index.js @@ -25,7 +25,7 @@ $('#pick').onclick=$('#drop-pick').onclick=()=>invoke(()=>api.pickFiles());$('#c $('#tab-quick').onclick=()=>{mode='quick';render(state);};$('#tab-tools').onclick=()=>{mode='tools';render(state);};$('#wheel-open').onclick=()=>invoke(()=>api.wheel(mode));$('#all-history').onclick=()=>navigate('history');$('#clear-history').onclick=()=>invoke(()=>api.clearHistory());$('#cancel-job').onclick=()=>invoke(()=>api.cancel()); $('#theme').onchange=e=>invoke(()=>api.settings({theme:e.target.value}));for(const input of document.querySelectorAll('[data-setting]'))input.onchange=()=>invoke(()=>api.settings({[input.dataset.setting]:input.checked})); $('#support').onclick=()=>invoke(()=>api.support()); -$('#issues').onclick=()=>invoke(()=>api.issues()); +$('#contact').onclick=()=>invoke(()=>api.contact()); $('#licenses').onclick=()=>invoke(()=>api.licenses()); document.addEventListener('dragover',event=>{event.preventDefault();$('#dropzone').classList.add('dragover');});document.addEventListener('dragleave',()=>$('#dropzone').classList.remove('dragover'));document.addEventListener('drop',event=>{event.preventDefault();$('#dropzone').classList.remove('dragover');const paths=api.pathsForFiles(event.dataTransfer.files);if(paths.length){navigate('files');invoke(()=>api.selectFiles(paths));}}); api.onState(render);api.onNotice(({message,error})=>toast(message,error));invoke(async()=>render(await api.state())); diff --git a/store/RELEASE.md b/store/RELEASE.md index d172df7..a40b04d 100644 --- a/store/RELEASE.md +++ b/store/RELEASE.md @@ -11,7 +11,7 @@ The app and manifest use English (`en-US`). Store copy is in `listing.en-US.json ## Publisher details to complete - Publish the privacy notice and add its URL to `listing.en-US.json`. Complete the provider and contact fields in `privacy-policy.en-US.md` first. -- Confirm the support URL, website and copyright notice. The public issue tracker is configured as the support URL. +- Confirm the support email, website and copyright notice. Support email: filebow@nordik.dev. - Select age rating, category, price, markets and availability in Partner Center. ## Build and submit @@ -32,7 +32,7 @@ Do not submit `identity.dev.json` or `FileBow-Development.cer`. The private deve - Install, launch, update and uninstall the MSIX on a clean Windows test installation. Package installation has not yet been validated. - Run Windows App Certification Kit (WACK) on the final package. WACK and Store certification remain outstanding. - Verify MSIX startup after sign-out/sign-in, including disabled-by-user and disabled-by-policy states. The StartupTask integration is implemented, but an installed-package sign-in cycle is not yet confirmed. -- Validate Explorer dragging with a real mouse, multiple tabs, multiple displays and 100/150/200% scaling. Selection and keyboard shortcuts have been checked live; automated dragging did not provide a reliable result. Desktop selection is not implemented. +- Validate Explorer dragging with a real mouse, multiple displays and 100/150/200% scaling. Active-tab selection has been checked with two tabs and another Explorer window open, including multiple selected files, no selection and switching back. Keyboard shortcuts have been checked live; automated dragging did not provide a reliable result. Desktop selection is not implemented. - Complete the corresponding-source review for all bundled native third-party components. FFmpeg source and build-script archives and license notices are included, but complete source coverage of bundled FFmpeg dependencies and native codecs in Python wheels has not been established. Do not describe the existing archives as a complete compliance package. - FileBow is licensed under GPL-3.0-or-later; see the root LICENSE and COPYRIGHT.md. Complete the dependency source bundle and native notice review described in licenses/README.md, then rebuild the binaries. The existing RC ZIP and MSIX predate these license changes. - Review the English screenshots and listing text before uploading them. @@ -45,7 +45,7 @@ Do not submit `identity.dev.json` or `FileBow-Development.cer`. The private deve No test account or purchase is required. Select a PNG or JPEG and convert it to another image format. A new output is saved beside the original. Select a text file in File Explorer, press Ctrl + Space and choose PDF. Alt + Space opens tools. Shortcuts and background operation can be disabled in Settings. Choose Quit from the tray menu to exit completely. -The sidebar includes an optional Ko-fi link; About FileBow links to the public issue tracker. They open fixed HTTPS destinations in the default browser. Ko-fi support does not unlock features or remove limits. FileBow does not process payment details. Declare the third-party payment flow during submission; see [Store policy 10.8](https://learn.microsoft.com/en-us/windows/apps/publish/store-policies#108-financial-transactions). +The sidebar includes an optional Ko-fi link; About FileBow opens a new email to filebow@nordik.dev in the default mail app. The Ko-fi link opens its fixed HTTPS address in the default browser. No message is sent automatically. Ko-fi support does not unlock features or remove limits. FileBow does not process payment details. Declare the third-party payment flow during submission; see [Store policy 10.8](https://learn.microsoft.com/en-us/windows/apps/publish/store-policies#108-financial-transactions). ## References diff --git a/store/listing.en-US.json b/store/listing.en-US.json index f797918..aca343a 100644 --- a/store/listing.en-US.json +++ b/store/listing.en-US.json @@ -12,7 +12,7 @@ "Dark, light and system themes" ], "keywords": ["file converter", "PDF", "images", "compression", "video", "audio", "radial menu"], - "supportUrl": "https://git.nordik.dev/nordik/FileBow/issues", + "supportEmail": "filebow@nordik.dev", "privacyPolicyUrl": "", "websiteUrl": "https://git.nordik.dev/nordik/FileBow", "copyright": "" diff --git a/store/privacy-policy.en-US.md b/store/privacy-policy.en-US.md index d9aa50e..00d9dd8 100644 --- a/store/privacy-policy.en-US.md +++ b/store/privacy-policy.en-US.md @@ -2,7 +2,7 @@ Provider: **[complete before publication]** -Contact: **[complete before publication]** +Contact: [filebow@nordik.dev](mailto:filebow@nordik.dev) FileBow converts and edits selected files on your device. It does not send file contents, filenames, passwords or usage statistics to the provider. There is no user account, advertising, analytics or tracking service. @@ -12,6 +12,6 @@ Processing creates temporary job data and intermediate files. For PDF password o When Explorer integration and keyboard shortcuts are enabled, FileBow reads the files you select. Optional drag detection observes mouse movement locally to open the radial menu. This data is not logged or uploaded. Both shortcuts and drag detection can be disabled in Settings. -The optional support link in the sidebar and issue link under About FileBow open Ko-fi or the public issue tracker in your default browser only when clicked. The websites process visits and any information you submit under their own privacy notices. FileBow does not send selected files or job data to these websites and does not process payment details. Information you choose to post in the public issue tracker is public. +The optional support link in the sidebar opens Ko-fi in your default browser. Ko-fi processes visits and any information you submit under its own privacy notice. The contact link under About FileBow opens your default mail app with filebow@nordik.dev as the recipient. FileBow does not send a message automatically or attach files, logs or job data. If you send an email, its contents and your email address are used to respond to your request. FileBow does not process payment details. Microsoft Store and Windows may process their own installation, update and diagnostic data under their respective privacy notices. That processing is outside FileBow. diff --git a/tests/explorer-selection.cjs b/tests/explorer-selection.cjs new file mode 100644 index 0000000..b683c45 --- /dev/null +++ b/tests/explorer-selection.cjs @@ -0,0 +1,44 @@ +// Windows integration check. Leave the intended Explorer tab in the foreground. +// node tests/explorer-selection.cjs --expect C:\path\file.txt [--expect ...] +// node tests/explorer-selection.cjs --empty +const {spawn} = require('node:child_process'); +const path = require('node:path'); +const fs = require('node:fs'); +const assert = require('node:assert/strict'); +const root = path.resolve(__dirname, '..'); +const args = process.argv.slice(2), expected = []; +let helper = path.join(root, 'vendor/windows/FileBow.Windows.exe'), log, empty = false; +for (let i = 0; i < args.length; i++) { + if (args[i] === '--expect' && args[i+1]) expected.push(path.resolve(args[++i])); + else if (args[i] === '--helper' && args[i+1]) helper = path.resolve(args[++i]); + else if (args[i] === '--log' && args[i+1]) log = path.resolve(args[++i]); + else if (args[i] === '--empty') empty = true; + else throw new Error(`Unknown or incomplete argument: ${args[i]}`); +} +assert.ok(empty !== (expected.length > 0), 'Use --expect paths or --empty, exclusively.'); +const child = spawn(helper, [], {windowsHide:true, stdio:['pipe','pipe','pipe']}); +const timer = setTimeout(() => { child.kill(); throw new Error('Selection check timed out'); }, 15000); +let buffer = '', replied = false; +child.stdout.setEncoding('utf8'); +child.stderr.pipe(process.stderr); +child.on('error', error => { clearTimeout(timer); console.error(error); process.exitCode = 1; }); +child.stdout.on('data', chunk => { + buffer += chunk; + const lines = buffer.split(/\r?\n/); buffer = lines.pop(); + for (const line of lines) { + const message = JSON.parse(line); + if (message.type === 'ready') child.stdin.write(JSON.stringify({id:1,command:'selection'})+'\n'); + if (message.id !== 1) continue; + replied = true; clearTimeout(timer); child.stdin.end(); + const normalized = values => values.map(value => path.resolve(value).toLowerCase()).sort(); + const result = {helper, expected, actual:message.result, error:message.error}; + try { + assert.equal(message.error, undefined); + assert.deepEqual(normalized(message.result), normalized(expected)); + result.passed = true; + } catch (error) { result.passed = false; console.error(error.message); process.exitCode = 1; } + if (log) { fs.mkdirSync(path.dirname(log), {recursive:true}); fs.writeFileSync(log, JSON.stringify(result,null,2)); } + console.log(JSON.stringify(result)); + } +}); +child.on('exit', () => { clearTimeout(timer); if (!replied) { console.error('Helper exited without a selection result'); process.exitCode=1; } }); diff --git a/tests/ui-smoke.cjs b/tests/ui-smoke.cjs index 4ec0561..f48c832 100644 --- a/tests/ui-smoke.cjs +++ b/tests/ui-smoke.cjs @@ -59,8 +59,8 @@ const root=path.resolve(__dirname,'..'),out=path.join(root,'test-results'); await app.evaluate(({shell})=>{global.__supportUrls=[];shell.openExternal=async url=>{global.__supportUrls.push(url);};}); assert.equal(await page.locator('aside #support').count(),1); await page.locator('aside #support').click(); - await page.locator('#issues').click(); - assert.deepEqual(await app.evaluate(()=>global.__supportUrls),['https://ko-fi.com/E0Z827VO8I','https://git.nordik.dev/nordik/FileBow/issues']); + await page.locator('#contact').click(); + assert.deepEqual(await app.evaluate(()=>global.__supportUrls),['https://ko-fi.com/E0Z827VO8I','mailto:filebow@nordik.dev']); await page.screenshot({path:path.join(out,'07-about.png')}); const hiddenInTray=await app.evaluate(({BrowserWindow})=>{ const main=BrowserWindow.getAllWindows().find(window=>window.getTitle()==='FileBow');