Compare commits

..
2 Commits
32 changed files with 282745 additions and 142 deletions

No files matched your search

+2
View File
@@ -1,2 +1,4 @@
# Preserve upstream license texts byte-for-byte for provenance hashes.
licenses/upstream/*.txt -text
# Generated upstream notice collections retain source whitespace; avoid huge diffs.
licenses/*-NOTICES.html -text -diff -whitespace
+5 -5
View File
@@ -29,7 +29,7 @@ Compression includes an optional target size and an output-size estimate. Transp
2. Press **Ctrl + Space** for conversion or **Alt + Space** for editing tools.
3. Pick an action. Output files are saved beside the originals without overwriting existing files.
Use number keys to choose radial-menu actions and **Esc** to close the menu.
Use number keys to choose radial-menu actions and **Esc** to close the menu. The menu opens only through a shortcut or the **Open radial menu** button. Dragging files into the app window adds them without opening the menu.
Closing the window keeps FileBow in the system tray by default, so the shortcuts remain available for selected Explorer files. Enable **Start with Windows** to launch it automatically, or choose **Quit** from the tray menu to exit.
@@ -43,17 +43,17 @@ File processing happens on your PC. FileBow has no account requirement, telemetr
## Availability
Download the [Windows x64 portable ZIP](https://git.nordik.dev/nordik/FileBow/releases/tag/v1.0.0-rc.1) from the releases page. Extract the entire archive and run `FileBow.exe` from the extracted folder. No installer, administrator access or Microsoft Store account is required. Keep the application files together.
Download the [Windows x64 portable ZIP](https://git.nordik.dev/nordik/FileBow/releases/tag/v1.0.2) from the releases page. Extract the entire archive and run `FileBow.exe` from the extracted folder. No installer, administrator access or Microsoft Store account is required. Keep the application files together.
The current download is a release candidate and is not Authenticode-signed. Release notes include known limitations, and a SHA-256 checksum accompanies the ZIP. The Microsoft Store release is still in preparation. See the [build guide](docs/DEVELOPMENT.md) and [release checklist](store/RELEASE.md).
The portable download is not Authenticode-signed. Release notes include known limitations, and a SHA-256 checksum accompanies the ZIP. The Microsoft Store release is still in preparation. See the [build guide](docs/DEVELOPMENT.md) and [release checklist](store/RELEASE.md).
Document conversion extracts text rather than preserving page layout. Scanned PDFs require an existing text layer; legacy DOC and PPT files must first be saved as DOCX or PPTX. Image editing uses the first frame of animated files. Target file sizes are estimates, and some Explorer drag and multi-display scenarios still need validation.
Document conversion extracts text rather than preserving page layout. Scanned PDFs require an existing text layer; legacy DOC and PPT files must first be saved as DOCX or PPTX. Image editing uses the first frame of animated files. Target file sizes are estimates, and additional multi-display scenarios still need validation.
## Built with
Electron provides the desktop interface, a Python worker handles file operations, FFmpeg processes media, and a C#/.NET helper integrates with Windows. Conversion runs outside the UI process, with isolated renderers and separate output files.
Third-party license notices and source references are included in [licenses](licenses).
Third-party license notices are included in [licenses](licenses). The [release downloads](https://git.nordik.dev/nordik/FileBow/releases/tag/v1.0.1) also provide versioned dependency source archives, patches, build recipes and checksums; see the [source build guide](licenses/sources/BUILDING.md).
## License
+21 -7
View File
@@ -32,16 +32,16 @@ pnpm build:store
```
- `out/FileBow-win32-x64/FileBow.exe`: portable build; keep its entire directory together.
- `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`.
- `out/msix/FileBow_1.0.2.0_x64_Development.msix`: signed with a local development certificate.
- `out/msix/FileBow_1.0.2.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.
For a separate portable test build while the normal build is running, set `FILEBOW_BUILD_OUT=out/tab-fix` before `pnpm build`. To package that build, run `powershell -NoProfile -File scripts/build-msix.ps1 -Channel Store -AppDirectory out/tab-fix/FileBow-win32-x64`. Packaging rejects a version mismatch between the app and the MSIX identity.
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
For a portable release, build the app, commit the intended source revision, then run `.venv/Scripts/python.exe scripts/build-release.py --tag v1.0.0-rc.1`. The script creates a ZIP, startup notes, a source revision record and SHA-256 checksums under `out/releases`. Publish these as release assets rather than committing generated binaries to Git.
For a portable release, build the app, commit the intended source revision, then run `.venv/Scripts/python.exe scripts/build-release.py --tag v1.0.2`. The script creates a ZIP, startup notes, a source revision record and SHA-256 checksums under `out/releases`. Publish these as release assets rather than committing generated binaries to Git.
```powershell
pnpm test
@@ -51,12 +51,12 @@ $env:FILEBOW_PACKAGED_ENGINE = (Resolve-Path vendor/engine/FileBowEngine.exe).Pa
pnpm test:ui
$env:FILEBOW_EXECUTABLE = (Resolve-Path out/FileBow-win32-x64/FileBow.exe).Path
pnpm test:ui
.venv/Scripts/python.exe scripts/verify-msix.py out/msix/FileBow_1.0.0.0_x64_Store.msix --allow-unsigned --identity store/identity.store.json
.venv/Scripts/python.exe scripts/verify-msix.py out/msix/FileBow_1.0.2.0_x64_Store.msix --allow-unsigned --identity store/identity.store.json
node scripts/capture-store.cjs
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`.
The worker tests check real conversions, encryption, image transparency, estimates, filename collisions and unchanged originals. UI checks use an isolated profile with global shortcuts disabled. Screenshot capture uses sample files only. Local logs are in `test-results`.
### Explorer tab selection
@@ -72,10 +72,24 @@ The helper matches the active tab's shell-browser window handle, since tabs shar
| `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`, `native/ExplorerSelection.cs` | Explorer selection, drag detection and Windows startup integration |
| `native/Program.cs`, `native/ExplorerSelection.cs` | Explorer selection and Windows startup integration |
| `scripts` | Runtime, application, package and screenshot builds |
| `store` | Store identity, listing drafts, assets and submission checklist |
See the [release checklist](../store/RELEASE.md) for remaining release checks. The product overview is in the [README](../README.md).
FileBow is licensed under GPL-3.0-or-later. Before distributing binaries, follow the [license and corresponding-source notes](../licenses/README.md). Generating license notices is separate from providing the matching dependency sources.
## Dependency source downloads
Download and extract every dependency source ZIP from the matching release into
one directory, then run `python scripts/verify-sources.py C:/path/to/sources`.
See [BUILDING.md](../licenses/sources/BUILDING.md) for source provenance and
native dependency rebuild instructions. To regenerate the release ZIPs from a
verified collection, run `python scripts/build-source-bundles.py out/sources/1.0.1
--output out/releases/v1.0.1` on one line. The archives are ordinary independent
ZIPs, each below 900 MiB. Publish all parts, the manifest and checksums together.
For FileBow 1.0.2, third-party binaries and their source collection are unchanged
from 1.0.1. Use the v1.0.1 checkout when regenerating those dependency ZIPs;
publish the changed application and helper sources with the v1.0.2 release.
+32
View File
@@ -0,0 +1,32 @@
# FileBow 1.0.1
Windows x64 update with corrected Explorer tab selection, email feedback and a versioned third-party source collection.
## Changes
- The radial menu reads the selected files from the active Explorer tab. An empty selection in that tab no longer picks files from another tab.
- Feedback opens a new email to filebow@nordik.dev.
- FileBow is licensed under GPL-3.0-or-later. The app includes updated third-party notices and a link to the matching source downloads.
- Dependency sources, Windows build recipes, patches and checksums accompany this release.
## Downloads
- **FileBow-1.0.1-win-x64.zip**: extract the entire archive and run `FileBow.exe`. This portable build is not Authenticode-signed.
- **FileBow_1.0.1.0_x64_Store.msix**: unsigned Microsoft Store submission package with the registered Nordik.dev identity. This is for Partner Center; it is not a directly installable signed package.
- **FileBow-1.0.1-source.zip**: FileBow's source at this release's Git revision.
- **FileBow-1.0.1-sources-*.zip**: dependency source archives. Download all of them and extract into one directory. Read **BUILDING-SOURCES.md** for versions, rebuild instructions and coverage limits.
- **SHA256SUMS.txt**: checksums for all release files. **SOURCE-MANIFEST.json** records each dependency archive; **SOURCE-BUNDLES.json** describes the source ZIPs.
Closing FileBow keeps it in the tray by default. Ctrl + Space opens conversion actions and Alt + Space opens editing tools for selected Explorer files. Choose Quit from the tray menu to exit.
## Validation and limitations
The Explorer fix was checked with two tabs, another Explorer window, multiple selected files, an empty selection and switching tabs. Application tests and the packaged UI smoke test cover the release build. MSIX identity, package hashes and updated payload are checked during packaging.
The WACK report for the earlier 1.0.0.0 package does not certify this update. A clean installation/update test, final WACK run and Microsoft Store certification remain separate release checks.
Document conversion extracts text rather than preserving page layout. Scanned PDFs need a text layer; legacy DOC/PPT files must first be saved in newer formats. Image editing uses the first frame of animated files. Compression targets are estimates. Desktop selection is not supported; Explorer dragging and additional display/DPI configurations need broader testing.
The source downloads include matching native codec sources and the original FFmpeg dependency cache. They do not mirror the entire Chromium checkout or a complete offline toolchain, and are not a claim of bit-for-bit reproducible builds. Earlier release binaries are unchanged.
Missing a feature or found a bug? [Email filebow@nordik.dev](mailto:filebow@nordik.dev).
+20
View File
@@ -0,0 +1,20 @@
# FileBow 1.0.2
Fixes the radial menu opening unexpectedly during ordinary mouse actions.
The previous global drag detector treated mouse movement with the left button held down as a file drag when Explorer had selected files. This heuristic has been removed, together with its setting. Existing profiles cannot reactivate it.
Open the radial menu with **Ctrl + Space**, **Alt + Space**, or **Open radial menu** in FileBow. Dragging files into the app window still works. Mouse movement, selection gestures and window dragging no longer activate the radial menu.
## Downloads
- **FileBow-1.0.2-win-x64.zip**: extract the whole archive and run `FileBow.exe`. Quit any older FileBow instance from its tray menu first. The portable build is not Authenticode-signed.
- **FileBow_1.0.2.0_x64_Store.msix**: unsigned Partner Center submission package; Microsoft signs the distributed Store app.
- **FileBow-1.0.2-source.zip**: application source for this release.
- **SHA256SUMS.txt**: download checksums.
Third-party binaries are unchanged from 1.0.1. The same [dependency source downloads, patches and build instructions](https://git.nordik.dev/nordik/FileBow/releases/tag/v1.0.1) apply. FileBow's changed Windows helper is built from the source in this release.
Regression tests cover ignored legacy drag messages, upgraded settings and explicit menu activation. Packaged UI and MSIX validation are run for this update. WACK and Store certification must be performed for the new package; earlier reports do not certify it.
Missing a feature or found a bug? [Email filebow@nordik.dev](mailto:filebow@nordik.dev).
File diff suppressed because it is too large. Load diff
+17 -19
View File
@@ -29,27 +29,25 @@ every library inside its binary wheel.
## Source availability
FileBow source and build scripts are available in this repository. The
`sources/` directory contains the exact FFmpeg main-source archive and the
BtbN build recipes. **It is not yet a complete corresponding-source bundle
for the distributed binaries.**
FileBow 1.0.1 has a separate, versioned dependency source collection on the
[release page](https://git.nordik.dev/nordik/FileBow/releases/tag/v1.0.1).
It contains 812 archives, including the original FFmpeg dependency source
cache, Python source distributions, HEIF codec sources and Windows patches,
lxml's native Windows library sources, and pinned Rust crates.
Before publishing a final binary release, provide and verify the matching
sources, patches, build configuration and necessary build/install scripts for
the GPL/LGPL components and their covered dependencies. This includes the
HEIF codec stack, fpdf2, lxml's iconv, and the dependencies incorporated into
FFmpeg. An upstream URL or a license text alone is not a source archive.
Preserve applicable notices for permissively licensed native dependencies too.
See [source downloads](sources/README.md), the [manifest](sources/SOURCE-MANIFEST.json)
and [rebuild instructions](sources/BUILDING.md). Supplemental native and Rust
notices are included in `Native-NOTICES.html` and `Rust-NOTICES.html`.
The source collection also contains build tools and optional dependencies;
their presence does not mean that they are linked into FileBow.
For the current HEIF binary, the runtime reports **x265 4.3+1-e9b8812**;
the wheel's generic notice points to tag **4.3**. Do not assume the tag alone
is the exact source of this binary. Windows wheel patches and build recipes
must be matched as well. See [source notes](sources/README.md).
The existing `v1.0.0-rc.1` ZIP and previously built MSIX predate the project
license and the notice corrections made on 2026-10-27. Changes in this
repository do not update those binaries. Complete the source bundle, rebuild,
and validate the new artifacts before a final release or Store submission.
Archive hashes and version/build evidence were checked. The native libraries
were not all rebuilt from source, and the collection does not mirror the
entire Chromium checkout or an offline toolchain. Its build guide identifies
the relevant pinned sources and these verification limits. The third-party binaries in FileBow 1.0.2 are unchanged from 1.0.1, so the
same dependency source collection applies to both releases. The changed
FileBow Windows helper is included in the 1.0.2 application source archive.
Earlier release binaries are unchanged.
For the Store submission, provide the GNU GPL as the application license and
link the corresponding source. Do not add application terms that restrict
File diff suppressed because it is too large. Load diff
+3 -2
View File
@@ -1,5 +1,5 @@
<!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>
<h2>FileBow</h2><p>Copyright (C) 2026 Nordik.dev. Licensed under GPL-3.0-or-later. You may redistribute and modify FileBow under the GNU GPL; there is no warranty. <a href="https://git.nordik.dev/nordik/FileBow">Source code</a>.</p><h2>HEIF codecs</h2><p>The pillow-heif wheel contains GPL-covered x265, as well as LGPL-covered libheif and libde265. Its BSD wrapper license does not cover the whole binary wheel. See the preserved upstream notices below.</p><p>Source archives currently cover FFmpeg itself and its build recipes, not every bundled dependency. See <a href="sources/README.md">source availability</a> before redistributing a binary build.</p>
<!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 downloads and build instructions are linked below.</p>
<h2>FileBow</h2><p>Copyright (C) 2026 Nordik.dev. Licensed under GPL-3.0-or-later. You may redistribute and modify FileBow under the GNU GPL; there is no warranty. <a href="https://git.nordik.dev/nordik/FileBow">Source code</a>.</p><h2>HEIF codecs</h2><p>The pillow-heif wheel contains GPL-covered x265, as well as LGPL-covered libheif and libde265. Its BSD wrapper license does not cover the whole binary wheel. See the preserved upstream notices below.</p><p><a href="https://git.nordik.dev/nordik/FileBow/releases/tag/v1.0.1">Third-party source downloads (unchanged since FileBow 1.0.1)</a>. Source archives, Windows build recipes, patches and checksums are provided separately. See <a href="https://git.nordik.dev/nordik/FileBow/src/tag/v1.0.1/licenses/sources/BUILDING.md">build instructions and coverage</a>.</p>
<details><summary>Dotnet-MIT.txt</summary><pre>The MIT License (MIT)
Copyright (c) .NET Foundation and Contributors
@@ -6409,6 +6409,7 @@ For more information, contact us at license @ x265.com.
* This program is also available under a commercial proprietary license.
* For more information, contact us at license @ x265.com.
</pre></details>
<h2>Supplemental notices</h2><p><a href="Native-NOTICES.html">Native library and source notices</a> · <a href="Rust-NOTICES.html">Rust dependency notices</a></p>
<h2>Electron / Chromium</h2><p><a href="Electron-LICENSES.chromium.html">Chromium-License notices</a></p>
<h2>pillow 13.0.0</h2>
<details><summary>pillow-13.0.0.dist-info__licenses__LICENSE</summary><pre>The Python Imaging Library (PIL) is
+84
View File
@@ -0,0 +1,84 @@
# FileBow 1.0.1 dependency sources
The source downloads are attached to the [FileBow 1.0.1 release](https://git.nordik.dev/nordik/FileBow/releases/tag/v1.0.1). Download every `FileBow-1.0.1-sources-*.zip` and extract them into the same directory. They are ordinary independent ZIP files, not a split ZIP volume. Keep the directory layout intact.
`SOURCE-MANIFEST.json` records each archive's origin, version or revision where available, size and SHA-256. `SOURCE-BUNDLES.json` records the downloadable ZIPs. Verify extracted archives with:
```powershell
python scripts/verify-sources.py C:/path/to/extracted-sources
```
The FileBow source archive and repository include the application source, lockfiles and build scripts. The large dependency archives are release assets, not Git objects or part of the installed app. License notices remain in the app under About FileBow → View licenses.
## Contents and scope
| Directory | Sources |
| --- | --- |
| `python` | 29 pinned Python distributions, including fpdf2, PyInstaller and its build dependencies. |
| `native` | HEIF/x265 stack, Windows recipes, GCC/MinGW, Pillow/lxml build sources, Python build recipes, OpenSSL, Electron, Chromium's FFmpeg, Node and .NET. |
| `python-native` | Libraries selected from the Python runtime supplier's 20260901 build recipes. |
| `pillow-dependencies` | Pillow's Windows image/font dependency source archives. zlib-ng and libavif's additional dependencies are under `native`. |
| `ffmpeg` | FFmpeg revision 6882969ce9 and the BtbN build repository at 937868360a21d711ec94a33f5591d345ad9b7754. |
| `ffmpeg-dependencies` | All 129 source-cache archives from that upstream build, including nested repositories and vendored sources. Other platforms and optional variants are also present; this is not a list of enabled codecs. |
| `rust` | 599 crate archives from the cryptography, rav1e and librsvg lockfiles, verified against their lockfile checksums. Includes build-only and other-platform dependencies. |
Source archives keep their original licenses. The source collection is not a relicensing of those projects. Microsoft redistributable runtime files are provided under Microsoft's redistribution terms; they are not represented as open-source code here.
## FileBow and the Python worker
Follow `docs/DEVELOPMENT.md` from the matching FileBow source revision. Use Python 3.11.16, the versions in `engine/requirements.lock.txt`, Electron 43.7.0 and .NET 8.0.31. `scripts/build-engine.cjs` contains the complete PyInstaller invocation; `scripts/build.cjs` packages the desktop app.
To modify a Python dependency, unpack its source archive, build/install it into FileBow's `.venv`, and rebuild the worker. For example, install the unpacked fpdf2 source with `.venv/Scripts/python.exe -m pip install C:/sources/fpdf2-2.8.9`, then run `pnpm build:engine`. The worker directory is copied to `vendor/engine`; regenerate notices before packaging. The source archives also include upstream packaging scripts and build requirements.
The bundled CPython runtime comes from python-build-standalone build **20260901**. Its source archive includes the supplier's patches and Windows build scripts. Its `pythonbuild/downloads.py` is the version/hash reference for `python-native`, rather than the older defaults in CPython's `PCbuild/get_externals.bat`. OpenSSL 3.5.8 belongs to Python; cryptography 50.0.2 separately embeds OpenSSL 4.0.3.
## HEIF, x265 and MinGW
The pillow-heif 1.8.1 source contains `.github/workflows/wheels.yml` and `libheif/windows/mingw-w64-libheif/PKGBUILD`. These describe the Windows wheel build, stripping and DLL repair/renaming. The libheif build enables x265 encoding and libde265 decoding; it disables the other optional codecs/plugins.
Use libheif **1.23.6**, libde265 **1.1.3** and the supplied official **x265 4.3** release archive. Its `x265Version.txt` records `repositorychangeset: e9b8812` and `releasetagdistance: 1`, matching the DLL's **4.3+1-e9b8812** version string.
The supplied MSYS2 recipe snapshots contain the build scripts and patches:
- x265 4.3-1: MINGW-packages revision `f6ae36581d8dd1f6878442575cc8471830b863ed`, directory `mingw-w64-x265`, including `0001-missing-include.patch` and the 8/10/12-bit build configuration.
- libde265 1.1.3-1: revision `c32cb4bc3e7de5dfc31415748daabe79c469d5fb`, directory `mingw-w64-libde265`.
- GCC runtime 16.2.0-5: revision `7c4b39d9bb2605b63a904a031b0aec309b4ac548`, directory `mingw-w64-gcc`; GCC 16.2.0 source is included.
- MinGW/winpthreads 14.0.0.r426.g4564ee4b5-1: recipe revision `6c5d16ee3b3e0dd9a5387878709ad55ea0887d6d` and mingw-w64 source revision `4564ee4b5063097bf747af3a3f8270a28adff820`.
`HEIF-BUILD-EVIDENCE.txt` records package versions from upstream Windows job 114479001949, run 38132864028. Build the selected MSYS2 recipes with `makepkg-mingw` in the corresponding x86_64 environment, then follow the wheel workflow. The full recipe snapshots contain many unrelated package recipes; only the directories above identify this codec/runtime stack.
## Pillow and lxml
Pillow 13.0.0's `winbuild/build_prepare.py` and `.github/dependencies.json` contain Windows compiler flags, patches and dependency versions. Follow `winbuild/README.md`. libavif 1.4.2 additionally selects AOM 3.14.1, dav1d 1.5.3, libyuv revision 644251f25 and libsharpyuv from libwebp 1.6.0; these sources are included. No libimagequant dependency is enabled in this Windows build.
lxml's Windows build uses the `lxml/libxml2-win-binaries` **2026.10.05** release. The supplied recipe archive contains `build.ps1`, `.gitmodules` and patches. Place the `winlibs-*` source snapshots in the corresponding `libiconv`, `libxml2`, `libxslt` and `zlib` subdirectories, and follow that repository's Windows build instructions (`build.ps1 -x64`). Its snapshots are pinned to the release's Git submodule commits, including libiconv `accac417318a3eef7402685a268cab8037e62ba1`. The release script labels iconv **1.19**, libxml2 **2.11.9**, libxslt **1.1.45** and zlib **1.3.2**. lxml's general environment defaults do not identify the Windows prebuilt libraries. Install the rebuilt libraries as described in lxml's `buildlibxml.py`, then build the lxml wheel and worker.
## FFmpeg
The binaries are the unmodified BtbN `autobuild-2026-10-25-13-00` LGPL shared Windows x64 build, `n9.0.2-36-g6882969ce9`. `FFMPEG-BUILD-CONFIGURATION.txt` contains the binary's configuration. GPL-only and nonfree FFmpeg variants are not used.
The source cache is from upstream run **40192150700**, artifact **12598108870**. Its original ZIP SHA-256 is `708e2fabd41f1f5a5c3ee6d0c1815fb1008957c2ec68d119b098e3363e9ecb23`. Individual original `.tar.xz` members are distributed unchanged. `FFMPEG-CACHE-ALIASES.json` maps the short names to their content-addressed cache names.
On a Linux host with Bash and Docker:
1. Unpack the BtbN build repository into a working directory.
2. Copy `ffmpeg-dependencies/*.tar.xz` into its `.cache/downloads/` directory. Restore the short-name symlinks using `FFMPEG-CACHE-ALIASES.json`. `download.sh` documents how cache keys are calculated.
3. Use `win64 lgpl-shared 9.0` for `makeimage.sh` and `build.sh`. Preserve the supplied recipes and patches; do not substitute today's recipe revisions or a different variant.
4. Pin FFmpeg to **6882969ce9**. In `build.sh`, replace the moving-branch clone with a clone followed by `git checkout --detach 6882969ce9` after entering the FFmpeg directory. The supplied main-source archive is the source snapshot at that revision.
5. Rebuild the dependency image and then FFmpeg following the repository README. Replace the files in `vendor/ffmpeg` together and run the FileBow engine tests.
The upstream scripts reference Docker toolchain images and contain `cargo update cc` in the rav1e build. Toolchain downloads are still required; the source bundle is not a prebuilt offline toolchain or a claim of bit-for-bit reproducibility. librsvg's original cache already contains its vendored Cargo sources. The separate Rust archives preserve the lockfile inputs for the other Rust builds as well.
## Electron, Chromium, Node and .NET
Electron **43.7.0** source includes its `DEPS`, build instructions and patches. It pins Chromium **150.0.7871.250**, Node **24.21.0** and nan `675cefebca42410733da8a454c8d9391fcebfbc2`. Node and nan source archives are included.
`CHROMIUM-DEPS.txt` preserves the matching Chromium dependency specification. Chromium's FFmpeg source is archived at **ad41607c61898cf7150e0fb20fe4bbabd44922a3**, with Electron's applicable changes in the Electron patch directory. This is distinct from FileBow's external BtbN FFmpeg binaries. Follow Electron's source-build documentation and its pinned DEPS to retrieve the complete Chromium checkout and remaining browser dependencies. The entire Chromium checkout is not mirrored in these downloads. Its bundled notices are preserved in `Electron-LICENSES.chromium.html`.
The .NET runtime and WinForms **8.0.31** source archives include their upstream build scripts. FileBow's helper is built from `native/FileBow.Windows.csproj`; the repository lockfile records its restore inputs.
## Verification boundaries
Archive hashes, package versions, original source-cache integrity and selected native version/build evidence have been checked. Native dependencies were not all rebuilt from source as part of assembling this collection. The collection is not a certification of reproducible builds, Microsoft Store approval or the contents of earlier FileBow releases. Keep these sources available alongside the binaries they accompany; publish a new manifest when dependency inputs change.
Questions or missing source material: [filebow@nordik.dev](mailto:filebow@nordik.dev).
File diff suppressed because it is too large. Load diff
+10 -26
View File
@@ -1,32 +1,16 @@
# Source provenance
# Dependency source downloads
FFmpeg binary supplier: BtbN, `autobuild-2026-10-25-13-00`, `ffmpeg-n9.0.2-36-g6882969ce9-win64-lgpl-shared-9.0.zip`.
The [FileBow 1.0.1 release](https://git.nordik.dev/nordik/FileBow/releases/tag/v1.0.1) provides separate source ZIPs alongside the binaries. Download all `FileBow-1.0.1-sources-*.zip` files and extract them into one directory.
SHA-256: `72e3fbaf17f8d5162c3010f9e58872fcb93ba2b03731fd0fff1ca9aabb616ea6`.
- [BUILDING.md](BUILDING.md): versions, provenance, patches, rebuild instructions and verification limits.
- [SOURCE-MANIFEST.json](SOURCE-MANIFEST.json): 812 source archives with origins, sizes and SHA-256 checksums.
- `SOURCE-BUNDLES.json` and `SHA256SUMS.txt` on the release: checksums for the downloadable ZIPs.
- [NOTICE-PROVENANCE.json](NOTICE-PROVENANCE.json): origins and hashes of supplemental native notices.
- `ffmpeg-6882969ce9.tar.gz`: FFmpeg main source at the binary's reported revision.
- `ffmpeg-builds-9378683.tar.gz`: BtbN build scripts and dependency recipes at the release revision.
- `ffmpeg-build-configuration.txt`: output from the bundled binary.
- `../FFmpeg-LGPL-3.0.txt` and `../GPL-3.0.txt`: license texts.
The collection includes Python distributions, HEIF/x265 sources and Windows recipes, lxml's native Windows sources, Pillow dependencies, Python runtime sources, Rust crates, FFmpeg and its original dependency cache, and source snapshots for Electron, Node and .NET. The entire Chromium checkout and a prebuilt offline toolchain are not mirrored; pinned dependency specifications and upstream build instructions are preserved.
The FFmpeg binaries are unmodified and retain their upstream filenames. `scripts/fetch-ffmpeg.ps1` verifies the download against the published hash.
The smaller FFmpeg source/build archives retained in this Git directory are part of the larger release collection. They are not copied into the installed app. Third-party notices and download information remain accessible through About FileBow → View licenses.
These archives cover FFmpeg's main source and build recipes. They do not establish complete corresponding-source coverage of all dependencies compiled into the BtbN build. Collect the exact dependency sources and applied patches, retain the build instructions, and verify the complete bundle before release.
The binaries use BtbN's unmodified `ffmpeg-n9.0.2-36-g6882969ce9-win64-lgpl-shared-9.0.zip`, release `autobuild-2026-10-25-13-00`, SHA-256 `72e3fbaf17f8d5162c3010f9e58872fcb93ba2b03731fd0fff1ca9aabb616ea6`. `ffmpeg-build-configuration.txt` records the binary's configuration.
## Python worker
The worker bundles pillow-heif 1.8.1 with libheif 1.23.6, libde265 1.1.3 and x265 **4.3+1-e9b8812**, plus MinGW runtime libraries. Its PE import chain is `_pillow_heif.pyd → libheif.dll → libx265.dll`. The wheel notice's x265 tag `4.3` is less specific than the binary's version string.
Matching source archives and wheel build inputs for these components have not yet been assembled here. fpdf2 2.8.9 and the LGPL iconv component in lxml also need corresponding-source coverage. Merely publishing FileBow's own Python entry point does not provide these dependencies' sources.
The added files under `../upstream/` are license texts and a license-header excerpt, **not** corresponding source. Verify native codec, OpenSSL, Rust, MinGW and other embedded dependency notices against the actual wheel builds.
## References
- https://github.com/BtbN/FFmpeg-Builds/releases/tag/autobuild-2026-10-25-13-00
- https://github.com/FFmpeg/FFmpeg/commit/6882969ce9
- https://ffmpeg.org/legal.html
- https://github.com/bigcat88/pillow_heif/tree/v1.8.1
- https://github.com/Multicorewareinc/x265/tree/e9b8812
- https://github.com/strukturag/libheif/tree/v1.23.6
- https://github.com/strukturag/libde265/tree/v1.1.3
- https://pypi.org/project/fpdf2/2.8.9/#files
Questions or missing sources: [filebow@nordik.dev](mailto:filebow@nordik.dev).
File diff suppressed because it is too large. Load diff
-27
View File
@@ -5,8 +5,6 @@ using Windows.ApplicationModel;
internal static class Program
{
[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);
static readonly object OutputLock = new();
static void Write(object data) { lock (OutputLock) { Console.WriteLine(JsonSerializer.Serialize(data)); Console.Out.Flush(); } }
@@ -18,30 +16,6 @@ internal static class Program
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
using var dispatch = new Control();
dispatch.CreateControl();
var timer = new System.Windows.Forms.Timer { Interval = 35 };
bool monitor = false, wasDown = false, dragging = false;
Point origin = default;
string[] dragFiles = [];
timer.Tick += (_, _) => {
bool down = (GetAsyncKeyState(1) & 0x8000) != 0;
GetCursorPos(out var point);
if (monitor && down && !wasDown) { origin = point; dragFiles = Selection(); }
if (monitor && down && !dragging &&
Math.Abs(point.X - origin.X) + Math.Abs(point.Y - origin.Y) > 24) {
var currentSelection = Selection();
if (currentSelection.Length > 0) dragFiles = currentSelection;
if (dragFiles.Length == 0) { wasDown = down; return; }
dragging = true;
Write(new { type = "drag", phase = "start", x = point.X, y = point.Y, files = dragFiles,
tools = (GetAsyncKeyState(18) & 0x8000) != 0 });
}
if (!down && wasDown && dragging) {
Write(new { type = "drag", phase = "drop", x = point.X, y = point.Y, files = dragFiles });
dragging = false; dragFiles = [];
}
wasDown = down;
};
timer.Start();
_ = Task.Run(() => {
string? line;
while ((line = Console.ReadLine()) != null) {
@@ -56,7 +30,6 @@ internal static class Program
object result;
switch (command) {
case "selection": result = Selection(); break;
case "monitor": monitor = value.GetProperty("enabled").GetBoolean(); result = monitor; break;
case "identity":
try { result = new { packaged = true, family = Package.Current.Id.FamilyName }; }
catch { result = new { packaged = false, family = "" }; }
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "filebow",
"productName": "FileBow",
"version": "1.0.0",
"version": "1.0.2",
"description": "Local radial file conversion and editing for Windows",
"private": true,
"author": "Nordik.dev",
+5 -2
View File
@@ -2,6 +2,7 @@
param(
[ValidateSet('Development','Store')][string]$Channel = 'Development',
[string]$IdentityFile,
[string]$AppDirectory,
[switch]$SignDevelopment,
[string]$SdkBin
)
@@ -24,8 +25,10 @@ if (-not $SdkBin) {
$SdkBin = $candidates | Where-Object { Test-Path (Join-Path $_ 'makeappx.exe') } | Select-Object -First 1
}
if (-not $SdkBin) { throw 'Windows SDK BuildTools fehlt. Zuerst dotnet restore native/FileBow.Windows.csproj ausführen.' }
$appPath = Join-Path $projectRoot 'out\FileBow-win32-x64'
$appPath = if (-not $AppDirectory) { Join-Path $projectRoot 'out\FileBow-win32-x64' } elseif ([IO.Path]::IsPathRooted($AppDirectory)) { [IO.Path]::GetFullPath($AppDirectory) } else { [IO.Path]::GetFullPath((Join-Path $projectRoot $AppDirectory)) }
if (-not (Test-Path "$appPath\FileBow.exe")) { throw 'Zuerst pnpm build ausführen.' }
$appMetadata = Get-Content -LiteralPath (Join-Path $appPath 'resources\app\package.json') -Raw | ConvertFrom-Json
if ("$($appMetadata.version).0" -ne $identity.Version) { throw 'App version and MSIX identity version do not match. Rebuild the app before packaging.' }
$stage = [IO.Path]::GetFullPath((Join-Path $projectRoot "build\msix-$Channel-$([Guid]::NewGuid().ToString('N').Substring(0,8))"))
$expectedParent = [IO.Path]::GetFullPath((Join-Path $projectRoot 'build'))
if ([IO.Path]::GetDirectoryName($stage) -ne $expectedParent) { throw 'Unerwarteter Staging-Pfad.' }
@@ -83,6 +86,6 @@ if ($SignDevelopment) {
$certificatePath = Join-Path $outputDir 'FileBow-Development.cer'
Export-Certificate -Cert $certificate -FilePath $certificatePath -Force | Out-Null
}
$record = @{ Channel=$Channel; Package=$package; Stage=$stage; Identity=$identity; Signed=[bool]$SignDevelopment; Certificate=$certificatePath; SHA256=(Get-FileBowSha256 $package); BuiltAt=(Get-Date).ToUniversalTime().ToString('o') }
$record = @{ Channel=$Channel; Package=$package; AppDirectory=$appPath; Stage=$stage; Identity=$identity; Signed=[bool]$SignDevelopment; Certificate=$certificatePath; SHA256=(Get-FileBowSha256 $package); BuiltAt=(Get-Date).ToUniversalTime().ToString('o') }
$record | ConvertTo-Json -Depth 5 | Set-Content (Join-Path $outputDir "build-$Channel.json") -Encoding utf8
Write-Output $package
+4 -1
View File
@@ -10,15 +10,18 @@ import zipfile
root = Path(__file__).resolve().parents[1]
parser = argparse.ArgumentParser()
parser.add_argument('--tag', required=True)
parser.add_argument('--app-directory', type=Path, default=root / 'out/FileBow-win32-x64')
args = parser.parse_args()
if not re.fullmatch(r'v\d+\.\d+\.\d+(?:-[a-zA-Z0-9.-]+)?', args.tag):
parser.error('Expected a version tag such as v1.0.0-rc.1')
version = json.loads((root / 'package.json').read_text('utf-8'))['version']
if args.tag[1:].split('-')[0] != version:
parser.error('Release tag does not match package.json')
source = root / 'out/FileBow-win32-x64'
source = args.app_directory.resolve()
if not (source / 'FileBow.exe').is_file():
raise SystemExit('Run pnpm build first.')
if json.loads((source / 'resources/app/package.json').read_text('utf-8'))['version'] != version:
raise SystemExit('The built app version does not match package.json.')
for name in ['FEATURE_PARITY.md', 'VALIDATION.md']:
if (source / 'resources/app' / name).exists():
raise SystemExit('Internal notes found in the app. Rebuild before packaging.')
+60
View File
@@ -0,0 +1,60 @@
"""Package a verified source collection into ordinary release ZIPs below 900 MiB."""
import argparse
import hashlib
import json
from pathlib import Path
import shutil
import subprocess
import sys
import zipfile
root = Path(__file__).resolve().parents[1]
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument('directory', type=Path)
parser.add_argument('--output', type=Path, required=True)
args = parser.parse_args()
directory = args.directory.resolve()
output = args.output.resolve()
subprocess.run([sys.executable, str(root / 'scripts/verify-sources.py'), str(directory)], check=True)
manifest = json.loads((directory / 'SOURCE-MANIFEST.json').read_text('utf-8'))
version = manifest['filebow_version']
if version != json.loads((root / 'package.json').read_text('utf-8'))['version']:
raise SystemExit('Source collection version does not match package.json.')
output.mkdir(parents=True, exist_ok=True)
shutil.copy2(root / 'licenses/sources/BUILDING.md', directory / 'BUILDING.md')
groups = {}
for row in manifest['sources']:
family = row['file'].split('/')[0]
group = 'ffmpeg' if family.startswith('ffmpeg') else 'rust' if family == 'rust' else 'runtime'
groups.setdefault(group, []).append(row)
bundles = []
def write_bundle(name, files):
path = output / name
with zipfile.ZipFile(path, 'w', compression=zipfile.ZIP_STORED) as archive:
for relative in files:
archive.write(directory / relative, relative)
with zipfile.ZipFile(path) as archive:
if bad := archive.testzip():
raise SystemExit(f'ZIP integrity error: {bad}')
with path.open('rb') as stream:
digest = hashlib.file_digest(stream, 'sha256').hexdigest()
bundles.append({'file': name, 'bytes': path.stat().st_size, 'sha256': digest, 'members': files})
print(f'Created {name} ({path.stat().st_size:,} bytes)', flush=True)
for group, rows in groups.items():
part, size, members = 1, 0, []
for row in sorted(rows, key=lambda r: r['file']):
if row['bytes'] > 900 * 1024**2:
raise SystemExit(f"Source archive exceeds bundle size: {row['file']}")
if members and size + row['bytes'] > 900 * 1024**2:
write_bundle(f'FileBow-{version}-sources-{group}-{part}.zip', members)
part, size, members = part + 1, 0, []
members.append(row['file'])
size += row['bytes']
if members:
write_bundle(f'FileBow-{version}-sources-{group}-{part}.zip', members)
notes = ['SOURCE-MANIFEST.json', 'BUILDING.md', 'HEIF-BUILD-EVIDENCE.txt',
'CHROMIUM-DEPS.txt', 'FFMPEG-BUILD-CONFIGURATION.txt', 'FFMPEG-CACHE-ALIASES.json']
write_bundle(f'FileBow-{version}-sources-notes.zip', notes)
(output / 'SOURCE-BUNDLES.json').write_text(json.dumps({'version': version, 'bundles': bundles}, indent=2) + '\n', encoding='utf-8')
shutil.copy2(directory / 'SOURCE-MANIFEST.json', output / 'SOURCE-MANIFEST.json')
shutil.copy2(directory / 'BUILDING.md', output / 'BUILDING-SOURCES.md')
+1 -1
View File
@@ -7,7 +7,7 @@ const buildOutput=path.resolve(root,process.env.FILEBOW_BUILD_OUT||'out');
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(?:\/|$)/],
ignore:[/^\/(?:\.venv|\.git|build|out|test-results|tests|scripts|native|store|engine|node_modules)(?:\/|$)/,/^\/(?:FEATURE_PARITY|VALIDATION)\.md$/i,/^\/licenses\/sources\/.*\.tar\.(?:gz|xz)$/,/\/\.gitignore$/,/default-docx-template(?:\/|$)/,/\.pyc$/,/\.pdb$/,/requirements\./,/pnpm/,/^\/vendor\/native(?:\/|$)/],
prune:true});
console.log(output.join('\n'));
})().catch(error=>{console.error(error);process.exit(1);});
+3 -2
View File
@@ -36,10 +36,11 @@ 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')
(out/'FileBow-LICENSE.txt').write_text((root/'COPYRIGHT.md').read_text(encoding='utf-8')+'\n\n'+(root/'LICENSE').read_text(encoding='utf-8'),encoding='utf-8')
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>']
parts.append('<h2>FileBow</h2><p>Copyright (C) 2026 Nordik.dev. Licensed under GPL-3.0-or-later. You may redistribute and modify FileBow under the GNU GPL; there is no warranty. <a href="https://git.nordik.dev/nordik/FileBow">Source code</a>.</p><h2>HEIF codecs</h2><p>The pillow-heif wheel contains GPL-covered x265, as well as LGPL-covered libheif and libde265. Its BSD wrapper license does not cover the whole binary wheel. See the preserved upstream notices below.</p><p>Source archives currently cover FFmpeg itself and its build recipes, not every bundled dependency. See <a href="sources/README.md">source availability</a> before redistributing a binary build.</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 downloads and build instructions are linked below.</p>']
parts.append('<h2>FileBow</h2><p>Copyright (C) 2026 Nordik.dev. Licensed under GPL-3.0-or-later. You may redistribute and modify FileBow under the GNU GPL; there is no warranty. <a href="https://git.nordik.dev/nordik/FileBow">Source code</a>.</p><h2>HEIF codecs</h2><p>The pillow-heif wheel contains GPL-covered x265, as well as LGPL-covered libheif and libde265. Its BSD wrapper license does not cover the whole binary wheel. See the preserved upstream notices below.</p><p><a href="https://git.nordik.dev/nordik/FileBow/releases/tag/v1.0.1">Third-party source downloads (unchanged since FileBow 1.0.1)</a>. Source archives, Windows build recipes, patches and checksums are provided separately. See <a href="https://git.nordik.dev/nordik/FileBow/src/tag/v1.0.1/licenses/sources/BUILDING.md">build instructions and coverage</a>.</p>')
for file in sorted(out.glob('*.txt')) + sorted((out/'upstream').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>Supplemental notices</h2><p><a href="Native-NOTICES.html">Native library and source notices</a> · <a href="Rust-NOTICES.html">Rust dependency notices</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>')
+25
View File
@@ -0,0 +1,25 @@
"""Verify every archive in an extracted FileBow dependency source collection."""
import argparse
import hashlib
import json
from pathlib import Path
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument('directory', type=Path)
args = parser.parse_args()
directory = args.directory.resolve()
manifest = json.loads((directory / 'SOURCE-MANIFEST.json').read_text('utf-8'))
seen = set()
for item in manifest['sources']:
relative = item['file']
file = (directory / relative).resolve()
if not file.is_relative_to(directory) or relative in seen:
raise SystemExit(f'Invalid or duplicate source path: {relative}')
seen.add(relative)
if not file.is_file() or file.stat().st_size != item['bytes']:
raise SystemExit(f'Missing source or incorrect size: {relative}')
with file.open('rb') as stream:
actual = hashlib.file_digest(stream, 'sha256').hexdigest()
if actual != item['sha256']:
raise SystemExit(f'SHA-256 mismatch: {relative}')
print(f"Verified {len(seen)} source archives for FileBow {manifest['filebow_version']}.")
+7 -22
View File
@@ -16,12 +16,14 @@ const dataPath = app.getPath('userData');
const configFile = path.join(dataPath, 'settings.json');
const historyFile = path.join(dataPath, 'history.json');
function readJSON(file, fallback) { try { return JSON.parse(fs.readFileSync(file, 'utf8')); } catch { return fallback; } }
let settings = { theme: 'dark', autoStart: false, dragWheel: true, shortcuts: true,
let settings = { theme: 'dark', autoStart: false, shortcuts: true,
closeToTray: true, rememberHistory: true, hardwareAcceleration: true, ...readJSON(configFile, {}) };
// Retire the mouse-movement heuristic, including profiles created before 1.0.2.
delete settings.dragWheel;
if (!settings.hardwareAcceleration) app.disableHardwareAcceleration();
let history = settings.rememberHistory ? readJSON(historyFile, []).slice(0, 50) : [];
let mainWindow, tray, wheel, native, engine, selected = [], activeJob = null;
let quitting = false, lastShortcut = 0, controller = null, nativeMonitor = false;
let quitting = false, lastShortcut = 0, controller = null;
let nativeError = '', shortcutStatus = {}, packageIdentity = { packaged: false };
let startupState = 'Disabled';
@@ -43,7 +45,7 @@ function publicState() {
size: (() => { try { return fs.statSync(file).size; } catch { return 0; } })() })),
quick: wheelContent(selected, 'quick').options,
tools: wheelContent(selected, 'tools').options,
history, activeJob, native: { available: !!native, monitoring: nativeMonitor, error: nativeError },
history, activeJob, native: { available: !!native, error: nativeError },
shortcuts: shortcutStatus, packageIdentity, startupState };
}
function publish() {
@@ -152,23 +154,6 @@ async function configureIntegration() {
if (settings.shortcuts && process.env.FILEBOW_TEST !== '1') for (const [mode, accelerator] of [['quick', 'Control+Space'], ['tools', 'Alt+Space']]) {
shortcutStatus[mode] = globalShortcut.register(accelerator, () => openWheel(mode).catch(error => notice(error.message, true)));
}
if (nativeMonitor) { try { await native.stopFileDragMonitor(); } catch {} nativeMonitor = false; }
if (settings.dragWheel && native && process.env.FILEBOW_TEST !== '1') {
try {
await native.startFileDragMonitor(async event => {
if (activeJob) return;
if (event.phase === 'shortcut') {
if (settings.shortcuts) openWheel(event.tools ? 'tools' : 'quick', { x: event.x, y: event.y }).catch(error => notice(error.message, true));
return;
}
if (event.phase === 'end') { if (!wheel.interactive) wheel.hide(); return; }
if (event.phase === 'drop') { wheel.dragEnded({ x: event.x, y: event.y }); return; }
const files = validFiles(event.files || await native.getExplorerSelection());
if (files.length) wheel.show(files, event.tools ? 'tools' : 'quick', screen.screenToDipPoint({ x: event.x, y: event.y }), false).catch(error => notice(error.message, true));
});
nativeMonitor = true;
} catch (error) { nativeError = error.message; }
}
}
function registerIpc() {
const handle = (channel, fn) => ipcMain.handle(`orbit:${channel}`, async (event, arg) => {
@@ -200,7 +185,7 @@ function registerIpc() {
handle('settings', async changes => {
if (!changes || typeof changes !== 'object') return;
if (['dark', 'light', 'system'].includes(changes.theme)) settings.theme = changes.theme;
for (const key of ['autoStart','dragWheel','shortcuts','closeToTray','rememberHistory','hardwareAcceleration']) {
for (const key of ['autoStart','shortcuts','closeToTray','rememberHistory','hardwareAcceleration']) {
if (typeof changes[key] === 'boolean') settings[key] = changes[key];
}
theme.setSelectedTheme(settings.theme);
@@ -213,7 +198,7 @@ function registerIpc() {
}
if (!settings.rememberHistory) saveJSON(historyFile, []);
saveJSON(configFile, settings);
if ('dragWheel' in changes || 'shortcuts' in changes) await configureIntegration();
if ('shortcuts' in changes) await configureIntegration();
for (const window of BrowserWindow.getAllWindows()) window.webContents.send('filebow-theme:changed', theme.getThemeMode());
mainWindow.setBackgroundColor(theme.themeBackgroundColor()); publish();
return publicState();
-11
View File
@@ -59,17 +59,6 @@ class Wheel {
if (!option) return;
const files = [...this.files]; this.hide(); this.onChoose(files, option);
}
dragEnded(point) {
if (!this.visible) return;
point = screen.screenToDipPoint(point);
const dx = point.x - this.center.x, dy = point.y - this.center.y, radius = Math.hypot(dx, dy);
if (radius < 96) { this.interactive = true; this.publish(); return; }
if (radius > 250) { this.hide(); return; }
const segment = 360 / this.options.length;
const index = ((Math.floor((Math.atan2(dy, dx) * 180 / Math.PI + 90 + segment / 2) / segment) % this.options.length) + this.options.length) % this.options.length;
const id = this.options[index]?.id;
if (this.visible) this.choose(id);
}
hide() { clearTimeout(this.timer); this.visible = false; this.window?.hide(); }
destroy() { this.hide(); this.window?.destroy(); }
}
+1 -4
View File
@@ -2,7 +2,7 @@ const { spawn } = require('node:child_process');
const path = require('node:path');
class WindowsBridge {
constructor(root) {
this.next = 1; this.pending = new Map(); this.onDrag = () => {};
this.next = 1; this.pending = new Map();
this.process = spawn(path.join(root, 'vendor/windows/FileBow.Windows.exe'), [], { windowsHide: true, stdio: ['pipe','pipe','pipe'] });
let buffer = '';
this.ready = new Promise((resolve, reject) => {
@@ -14,7 +14,6 @@ class WindowsBridge {
for (const line of lines) {
let message; try { message = JSON.parse(line); } catch { continue; }
if (message.type === 'ready') resolve();
else if (message.type === 'drag') this.onDrag(message);
else if (this.pending.has(message.id)) {
const pending = this.pending.get(message.id); this.pending.delete(message.id); clearTimeout(pending.timer);
if (message.error) pending.reject(new Error(message.error)); else pending.resolve(message.result);
@@ -39,8 +38,6 @@ class WindowsBridge {
});
}
getExplorerSelection() { return this.request('selection'); }
startFileDragMonitor(callback) { this.onDrag = callback; return this.request('monitor', { enabled: true }); }
stopFileDragMonitor() { return this.request('monitor', { enabled: false }); }
close() { this.process.stdin.end(); }
}
module.exports = { WindowsBridge };
-1
View File
@@ -16,7 +16,6 @@
<label class="setting"><span><strong>Appearance</strong><small>App color scheme</small></span><select id="theme"><option value="dark">Dark</option><option value="light">Light</option><option value="system">System</option></select></label>
<label class="setting"><span><strong>Start with Windows</strong><small>Start FileBow in the system tray</small></span><input type="checkbox" data-setting="autoStart"></label>
<label class="setting"><span><strong>Keyboard shortcuts</strong><small>Ctrl + Space and Alt + Space</small></span><input type="checkbox" data-setting="shortcuts"></label>
<label class="setting"><span><strong>Radial menu while dragging</strong><small>Show for selected Explorer files; hold Alt for tools</small></span><input type="checkbox" data-setting="dragWheel"></label>
<label class="setting"><span><strong>Keep running in the background</strong><small>Keep FileBow in the system tray when the window closes</small></span><input type="checkbox" data-setting="closeToTray"></label>
<label class="setting"><span><strong>Save history</strong><small>Save filenames and output paths locally</small></span><input type="checkbox" data-setting="rememberHistory"></label>
<label class="setting"><span><strong>Hardware acceleration</strong><small>Applies to the interface; takes effect after restarting</small></span><input type="checkbox" data-setting="hardwareAcceleration"></label>
+5 -5
View File
@@ -23,18 +23,18 @@ pnpm build
pnpm build:store
```
Upload `out/msix/FileBow_1.0.0.0_x64_Store.msix` to Partner Center. This package uses the reserved identity and is not signed with the local development certificate. Microsoft signs the distributed Store app. Increase the four-part package version for updates and keep its final component at `0` for Store submissions.
Upload `out/msix/FileBow_1.0.2.0_x64_Store.msix` to Partner Center. This package uses the reserved identity and is not signed with the local development certificate. Microsoft signs the distributed Store app. Increase the four-part package version for updates and keep its final component at `0` for Store submissions.
Do not submit `identity.dev.json` or `FileBow-Development.cer`. The private development key stays in the local Windows certificate store and is not exported.
## Before public release
- 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.
- Run Windows App Certification Kit (WACK) on the final 1.0.2.0 package. The earlier 1.0.0.0 report does not certify this update. Store certification remains 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 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.
- Validate direct file drops and multiple displays at 100/150/200% scaling. Active-tab selection has been checked with two tabs and another Explorer window, including multiple selected files, empty selection and switching back. Keyboard shortcuts have been checked live. In 1.0.2 the global mouse-drag heuristic was removed: only keyboard shortcuts and the app button open the radial menu. Desktop selection is not implemented.
- Publish all 1.0.1 dependency source ZIPs, SOURCE-MANIFEST.json, SOURCE-BUNDLES.json and SHA256SUMS.txt alongside the binaries. The collection contains 812 archives including the original FFmpeg cache and native Windows codec sources/recipes. See licenses/sources/BUILDING.md for rebuild instructions and verification limits; the full Chromium checkout and offline toolchains are not mirrored.
- FileBow is licensed under GPL-3.0-or-later; see LICENSE and COPYRIGHT.md. The 1.0.1 build includes updated notices and source download links. The earlier RC ZIP and 1.0.0.0 MSIX remain unchanged. Provide the application license and source link in Partner Center.
- Review the English screenshots and listing text before uploading them.
## Restricted capability explanation
+1 -1
View File
@@ -3,5 +3,5 @@
"Publisher": "CN=FileBow Development",
"PublisherDisplayName": "FileBow Development",
"DisplayName": "FileBow",
"Version": "1.0.0.0"
"Version": "1.0.2.0"
}
+1 -1
View File
@@ -3,5 +3,5 @@
"Publisher": "CN=B8FFF13C-C292-4FF8-84ED-3DDE06A7E9F2",
"PublisherDisplayName": "Nordik.dev",
"DisplayName": "FileBow",
"Version": "1.0.0.0"
"Version": "1.0.2.0"
}
-4
View File
@@ -1,4 +0,0 @@
const {WindowsBridge}=require('../src/main/windows.cjs');
const fs=require('node:fs'),path=require('node:path');
const root=path.resolve(__dirname,'..'),log=path.join(root,'test-results/native-drag.json');
(async()=>{const bridge=new WindowsBridge(root);const events=[];await bridge.startFileDragMonitor(event=>{events.push(event);fs.writeFileSync(log,JSON.stringify(events,null,2));});console.log('Monitor ready');setTimeout(()=>bridge.close(),60000);})().catch(error=>{console.error(error);process.exitCode=1;});
+15
View File
@@ -0,0 +1,15 @@
const assert = require('node:assert/strict');
const path = require('node:path');
const { WindowsBridge } = require('../src/main/windows.cjs');
const root = path.resolve(process.argv[2] || path.join(__dirname, '..'));
(async () => {
const bridge = new WindowsBridge(root);
try {
await bridge.ready;
await assert.rejects(bridge.request('monitor', { enabled: true }), /Unknown command/);
const identity = await bridge.request('identity');
assert.equal(typeof identity.packaged, 'boolean');
assert.ok(Array.isArray(await bridge.getExplorerSelection()));
console.log('Native integration passed: retired monitor rejected, identity and selection available.');
} finally { bridge.close(); }
})().catch(error => { console.error(error); process.exitCode = 1; });
+7
View File
@@ -10,6 +10,8 @@ const root=path.resolve(__dirname,'..'),out=path.join(root,'test-results');
(async()=>{
await fs.mkdir(out,{recursive:true});
const profile=await fs.mkdtemp(path.join(out,'profile-'));
// An upgraded profile must not restore the retired automatic drag trigger.
await fs.writeFile(path.join(profile,'settings.json'),JSON.stringify({dragWheel:true}));
const app=await electron.launch({executablePath:process.env.FILEBOW_EXECUTABLE||require('electron'),args:process.env.FILEBOW_EXECUTABLE?[]:[root],env:{...process.env,FILEBOW_TEST:'1',FILEBOW_USER_DATA:profile},timeout:30000});
const errors=[];app.on('window',window=>window.on('pageerror',error=>errors.push(error.message)));
app.process().stderr.on('data',data=>{const text=data.toString();if(/Error|Exception/.test(text))process.stderr.write(text);});
@@ -19,6 +21,11 @@ const root=path.resolve(__dirname,'..'),out=path.join(root,'test-results');
assert.equal(await page.locator('html').getAttribute('lang'),'en');
assert.equal(await app.evaluate(({app})=>app.getLocale()),'en-US');
const state=await page.evaluate(()=>window.orbit.state());assert.equal(state.name,'FileBow');assert.ok(state.native.available,state.native.error);
assert.equal(Object.hasOwn(state.settings,'dragWheel'),false);
assert.equal(await page.locator('[data-setting="dragWheel"]').count(),0);
const legacySettings=await page.evaluate(()=>window.orbit.settings({dragWheel:true}));
assert.equal(Object.hasOwn(legacySettings.settings,'dragWheel'),false);
assert.equal(Object.hasOwn(JSON.parse(await fs.readFile(path.join(profile,'settings.json'),'utf8')),'dragWheel'),false);
const textFile=path.join(out,'Beispiel.txt');await fs.writeFile(textFile,'FileBow\nGrüße aus Köln.\nLokale Dateikonvertierung.');
await page.evaluate(file=>window.orbit.selectFiles([file]),textFile);
await page.locator('[data-action="convert-pdf"]').click();
+37
View File
@@ -0,0 +1,37 @@
const test = require('node:test');
const assert = require('node:assert/strict');
const { EventEmitter } = require('node:events');
const { PassThrough } = require('node:stream');
const vm = require('node:vm');
const fs = require('node:fs');
const path = require('node:path');
test('unsolicited legacy drag messages cannot activate the radial menu', async () => {
const child = new EventEmitter();
child.stdin = new PassThrough();
child.stdout = new PassThrough();
child.stderr = new PassThrough();
const module = { exports: {} };
vm.runInNewContext(fs.readFileSync(path.join(__dirname, '../src/main/windows.cjs'), 'utf8'), {
module, setTimeout, clearTimeout,
require: name => name === 'node:child_process' ? { spawn: () => child } : require(name),
});
const bridge = new module.exports.WindowsBridge('C:/FileBow');
let activations = 0;
// Old helpers may still emit these events; the bridge must ignore them.
bridge.onDrag = () => { activations++; };
child.stdout.write('{"type":"ready"}\n');
await bridge.ready;
for (const phase of ['start', 'drop', 'shortcut', 'end']) {
child.stdout.write(JSON.stringify({ type: 'drag', phase, files: ['C:/selected.png'], x: 500, y: 500 }) + '\n');
}
assert.equal(activations, 0);
// Explicit requests, used by the real keyboard shortcuts, still work.
const selection = bridge.getExplorerSelection();
await new Promise(resolve => setImmediate(resolve));
const request = JSON.parse(child.stdin.read().toString());
assert.equal(request.command, 'selection');
child.stdout.write(JSON.stringify({ id: request.id, result: ['C:/selected.png'] }) + '\n');
assert.equal((await selection)[0], 'C:/selected.png');
bridge.close();
});