Read selection from the active Explorer tab and use email feedback

This commit is contained in:
nordik committed 2026-10-27 02:34:17 +01:00
1 parent 3f9541c1b9
commit 0e84a1c452
15 files changed
+185 -53

No files matched your search

+2 -2
View File
@@ -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');