Switch FileBow to English and present the app in the public README
This commit is contained in:
1 parent
2b897267d1
commit
84164251e3
36 files changed
+346
-280
No files matched your search
@@ -44,12 +44,12 @@ $manifest = @"
|
||||
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
|
||||
IgnorableNamespaces="uap desktop uap10 rescap">
|
||||
<Identity Name="$name" Publisher="$publisher" Version="$($identity.Version)" ProcessorArchitecture="x64" />
|
||||
<Properties><DisplayName>$display</DisplayName><PublisherDisplayName>$publisherDisplay</PublisherDisplayName><Logo>Assets\StoreLogo.png</Logo><Description>Dateien konvertieren, komprimieren und bearbeiten.</Description></Properties>
|
||||
<Properties><DisplayName>$display</DisplayName><PublisherDisplayName>$publisherDisplay</PublisherDisplayName><Logo>Assets\StoreLogo.png</Logo><Description>Convert, compress and edit files.</Description></Properties>
|
||||
<Dependencies><TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.19041.0" MaxVersionTested="10.0.26100.0" /></Dependencies>
|
||||
<Resources><Resource Language="de-de" /></Resources>
|
||||
<Resources><Resource Language="en-us" /></Resources>
|
||||
<Applications>
|
||||
<Application Id="App" Executable="app\FileBow.exe" EntryPoint="Windows.FullTrustApplication" uap10:RuntimeBehavior="packagedClassicApp" uap10:TrustLevel="mediumIL">
|
||||
<uap:VisualElements DisplayName="$display" Description="Dateien konvertieren und bearbeiten" BackgroundColor="#14161B" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png">
|
||||
<uap:VisualElements DisplayName="$display" Description="Convert and edit files" BackgroundColor="#14161B" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png">
|
||||
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" Square71x71Logo="Assets\Square71x71Logo.png" Square310x310Logo="Assets\Square310x310Logo.png" />
|
||||
</uap:VisualElements>
|
||||
<Extensions>
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ const root=path.resolve(__dirname,'..');
|
||||
for(const file of ['vendor/engine/FileBowEngine.exe','vendor/windows/FileBow.Windows.exe','vendor/ffmpeg/ffmpeg.exe','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,
|
||||
icon:path.join(root,'assets/icon.ico'),appVersion:require('../package.json').version,
|
||||
win32metadata:{ProductName:'FileBow',FileDescription:'FileBow – Dateiwerkzeuge',InternalName:'FileBow',OriginalFilename:'FileBow.exe'},
|
||||
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)(?:\/|$)/,/\/\.gitignore$/,/default-docx-template(?:\/|$)/,/\.pyc$/,/\.pdb$/,/requirements\./,/pnpm/,/^\/vendor\/native(?:\/|$)/],
|
||||
prune:true});
|
||||
console.log(output.join('\n'));
|
||||
|
||||
@@ -8,13 +8,13 @@ const root=path.resolve(__dirname,'..');
|
||||
try{
|
||||
const page=await app.firstWindow();await page.waitForSelector('#pick');
|
||||
await app.evaluate(({BrowserWindow})=>BrowserWindow.getAllWindows()[0].setContentSize(1600,900));
|
||||
await page.screenshot({path:path.join(output,'01-Dateien.png')});
|
||||
const file=path.join(root,'test-results/Beispielbild.png');await fs.copyFile(path.join(root,'assets/icon.png'),file);
|
||||
await page.screenshot({path:path.join(output,'01-Files.png')});
|
||||
const file=path.join(root,'test-results/Sample.png');await fs.copyFile(path.join(root,'assets/icon.png'),file);
|
||||
await page.evaluate(file=>window.orbit.selectFiles([file]),file);await page.locator('#tab-tools').click();
|
||||
await page.screenshot({path:path.join(output,'02-Werkzeuge.png')});
|
||||
await page.locator('[data-page="settings"]').click();await page.screenshot({path:path.join(output,'03-Einstellungen.png')});
|
||||
await page.screenshot({path:path.join(output,'02-Tools.png')});
|
||||
await page.locator('[data-page="settings"]').click();await page.screenshot({path:path.join(output,'03-Settings.png')});
|
||||
await page.locator('#theme').selectOption('light');await page.waitForFunction(()=>document.documentElement.dataset.theme==='light');
|
||||
await page.locator('[data-page="files"]').click();await page.locator('#tab-quick').click();await page.screenshot({path:path.join(output,'04-Konvertieren-Hell.png')});
|
||||
await page.locator('[data-page="files"]').click();await page.locator('#tab-quick').click();await page.screenshot({path:path.join(output,'04-Convert-Light.png')});
|
||||
}finally{await app.close();}
|
||||
console.log(output);
|
||||
})().catch(error=>{console.error(error);process.exitCode=1;});
|
||||
@@ -25,10 +25,10 @@ electron=root/'node_modules/electron/dist'
|
||||
for name in ['LICENSE','LICENSES.chromium.html']:
|
||||
if (electron/name).exists():shutil.copy2(electron/name,out/('Electron-'+name))
|
||||
(out/'components.json').write_text(json.dumps(records,indent=2,ensure_ascii=False),encoding='utf-8')
|
||||
parts=['<!doctype html><html lang="de"><meta charset="utf-8"><title>FileBow – Lizenzhinweise</title><style>body{font:15px system-ui;max-width:960px;margin:40px auto;padding:24px;line-height:1.6;color:#20232a}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px monospace}summary{cursor:pointer}a{color:#9a4518}</style><h1>FileBow – Drittanbieterkomponenten</h1><p>Die folgenden Komponenten unterliegen den Lizenzen ihrer jeweiligen Urheber. Diese Hinweise ändern keine Rechte aus diesen Lizenzen.</p><h2>FFmpeg</h2><p>FileBow verwendet FFmpeg-Bibliotheken unter der GNU LGPL Version 3. FFmpeg läuft als separater Prozess. Die dynamischen Bibliotheken liegen unverändert im Paket. Version: n9.0.2-36-g6882969ce9, BtbN LGPL shared x64. Quellcode und Buildskripte liegen im Verzeichnis <code>licenses/sources</code>.</p>']
|
||||
parts=['<!doctype html><html lang="en"><meta charset="utf-8"><title>FileBow – License notices</title><style>body{font:15px system-ui;max-width:960px;margin:40px auto;padding:24px;line-height:1.6;color:#20232a}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px monospace}summary{cursor:pointer}a{color:#9a4518}</style><h1>FileBow – Third-party components</h1><p>The following components are distributed under their respective licenses. These notices do not change any rights granted by those licenses.</p><h2>FFmpeg</h2><p>FileBow uses FFmpeg libraries under the GNU LGPL version 3. FFmpeg runs as a separate process. The shared libraries are included unmodified. Version: n9.0.2-36-g6882969ce9, BtbN LGPL shared x64. Source archives and build scripts are in <code>licenses/sources</code>.</p>']
|
||||
for file in sorted(out.glob('*.txt')):
|
||||
parts.append(f'<details><summary>{html.escape(file.name)}</summary><pre>{html.escape(file.read_text(encoding="utf-8",errors="replace"))}</pre></details>')
|
||||
parts.append('<h2>Electron / Chromium</h2><p><a href="Electron-LICENSES.chromium.html">Chromium-Lizenzhinweise</a></p>')
|
||||
parts.append('<h2>Electron / Chromium</h2><p><a href="Electron-LICENSES.chromium.html">Chromium-License notices</a></p>')
|
||||
for record in records:
|
||||
parts.append(f'<h2>{html.escape(record["name"])} {record["version"]}</h2>')
|
||||
for name in record['files']:
|
||||
|
||||
Reference in new issue
Block a user