From e2e530053b9948ee934ebe4c60ec6e1818d154a1 Mon Sep 17 00:00:00 2001 From: nordik Date: Tue, 27 Oct 2026 01:45:37 +0100 Subject: [PATCH] Prepare portable Windows release candidate and download instructions --- README.md | 4 ++- docs/DEVELOPMENT.md | 2 ++ docs/releases/v1.0.0-rc.1.md | 41 ++++++++++++++++++++++++++++++ scripts/build-release.py | 49 ++++++++++++++++++++++++++++++++++++ 4 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 docs/releases/v1.0.0-rc.1.md create mode 100644 scripts/build-release.py diff --git a/README.md b/README.md index 01dd6ef..a2ebc50 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,9 @@ File processing happens on your PC. FileBow has no account requirement, telemetr ## Availability -FileBow is being prepared for the Microsoft Store. Windows x64 builds can currently be built from this repository; a public Store release is not yet confirmed. See the [build guide](docs/DEVELOPMENT.md) and [release checklist](store/RELEASE.md). +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. + +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). 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. diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index 4c66be2..26f5162 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -38,6 +38,8 @@ To install the development package in a Windows test environment, run `scripts/i ## 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. + ```powershell pnpm test .venv/Scripts/python.exe tests/engine_smoke.py diff --git a/docs/releases/v1.0.0-rc.1.md b/docs/releases/v1.0.0-rc.1.md new file mode 100644 index 0000000..44f0330 --- /dev/null +++ b/docs/releases/v1.0.0-rc.1.md @@ -0,0 +1,41 @@ +# FileBow 1.0.0 RC1 + +First public Windows x64 portable build. This is a release candidate; the Microsoft Store release is still in preparation. + +## Download and run + +1. Download **FileBow-1.0.0-rc.1-win-x64.zip** from this release's assets. +2. Extract the entire archive to a folder where you want to keep FileBow. +3. Open the extracted folder and run **FileBow.exe**. Do not run it from inside the ZIP or move the EXE away from its supporting files. + +Windows 10 version 2004 or later, or Windows 11, x64 is required. No Microsoft Store account, installer, administrator access or development certificate is needed. This portable build is not Authenticode-signed; Windows may identify its publisher as unknown. + +Settings and optional history are saved in your Windows user profile. Closing the window keeps FileBow running in the system tray by default. Select files in File Explorer and use Ctrl + Space for conversion or Alt + Space for tools. Choose Quit from the tray menu to exit completely. + +## Included + +- Image, video, audio and document conversion. +- Image crop, resize, rotate and flip tools. +- Compression with size estimates and optional target size. +- PDF merging, text export and password tools. +- ZIP archives, metadata removal and batch jobs. +- English interface, dark/light/system themes, history and tray operation. + +## Known limitations + +- Explorer dragging, multiple tabs, displays and DPI configurations still need broader validation. Desktop selection is not implemented. +- Document conversion extracts text rather than preserving layout. Scanned PDFs require a text layer; legacy DOC/PPT files are not supported. +- Editing animated images uses the first frame. Compression targets are not guaranteed. +- This release has not passed Windows App Certification Kit or Microsoft Store certification. + +The ZIP includes third-party license notices and the available source archives/references under `resources/app/licenses`. + +## Verify the download + +Download `SHA256SUMS.txt` and compare its ZIP checksum with: + +```powershell +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). diff --git a/scripts/build-release.py b/scripts/build-release.py new file mode 100644 index 0000000..6256bf9 --- /dev/null +++ b/scripts/build-release.py @@ -0,0 +1,49 @@ +"""Package the built Windows app as a portable release ZIP with checksums.""" +import argparse +import hashlib +import json +from pathlib import Path +import re +import subprocess +import zipfile + +root = Path(__file__).resolve().parents[1] +parser = argparse.ArgumentParser() +parser.add_argument('--tag', required=True) +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' +if not (source / 'FileBow.exe').is_file(): + raise SystemExit('Run pnpm build first.') +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.') +notes = root / 'docs/releases' / (args.tag + '.md') +if not notes.is_file(): + raise SystemExit('Release notes are missing.') +output = root / 'out/releases' / args.tag +output.mkdir(parents=True, exist_ok=True) +name = f'FileBow-{args.tag[1:]}-win-x64' +archive = output / (name + '.zip') +commit = subprocess.check_output(['git', 'rev-parse', 'HEAD'], cwd=root, text=True).strip() +metadata = {'tag': args.tag, 'appVersion': version, 'commit': commit, 'platform': 'win32', 'arch': 'x64'} +files = sorted(p for p in source.rglob('*') if p.is_file()) +with zipfile.ZipFile(archive, 'w', compression=zipfile.ZIP_DEFLATED, compresslevel=6) as bundle: + for file in files: + bundle.write(file, f'{name}/{file.relative_to(source).as_posix()}') + bundle.writestr(f'{name}/START-HERE.md', notes.read_text('utf-8')) + bundle.writestr(f'{name}/release.json', json.dumps(metadata, indent=2) + '\n') +with zipfile.ZipFile(archive) as bundle: + bad = bundle.testzip() + if bad: + raise SystemExit(f'ZIP integrity check failed: {bad}') +with archive.open('rb') as stream: + digest = hashlib.file_digest(stream, 'sha256').hexdigest() +(output / 'SHA256SUMS.txt').write_text(f'{digest} {archive.name}\n', encoding='ascii') +metadata.update(archive=archive.name, bytes=archive.stat().st_size, sha256=digest, fileCount=len(files)+2) +(output / 'release.json').write_text(json.dumps(metadata, indent=2)+'\n', encoding='utf-8') +print(json.dumps(metadata, indent=2))