From 0438b99a7f4f9230ca2cc89d9bddbf764870b8f6 Mon Sep 17 00:00:00 2001 From: Glauber Lima Date: Tue, 10 Nov 2026 08:33:14 -0300 Subject: [PATCH] Release 1.0.0: bump version, add AI disclosure, document release steps Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_014ywtUE6stkB6gy5JZ2D2VB --- AGENTS.md | 1 + Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 9 ++++++++- assets/app.rc | 8 ++++---- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 3eaafe1..b9780b4 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -17,6 +17,7 @@ cargo run --release -- "C:\path\image.cue" # paths on the command line are mou - **A running `dim.exe` locks the binary.** Close it (tray → Quit, or `taskkill /F /IM dim.exe`) before `cargo build --release`, or the link step fails with "Access denied". Killing it detaches every mounted drive. - **CI:** `.github/workflows/ci.yml` (windows-latest) runs fmt, clippy `-D warnings`, tests, a release build and a size guard (exe < 600 KB). `release.yml` publishes `dim.exe` and `checksums.txt` when a `v*` tag is pushed. Keep action versions pinned by commit SHA. +- **Release:** bump the version in `Cargo.toml`, the `dim` entry of `Cargo.lock` and `assets/app.rc` (4 places), merge through a PR (`main` is protected), then `git tag -a vX.Y.Z -m vX.Y.Z && git push origin vX.Y.Z`; `release.yml` publishes. - **Layout:** `assets/` (icon, manifest, rc, logo SVG), `docs/images/` (README screenshot), `src/` (code). - **Flags:** `--tray` starts hidden in the tray. - **Icon:** `assets/app.ico` is generated from `assets/app.svg` with ImageMagick. Sizes 16, 20 and 24 px use a simplified SVG without the eject badge and the thin rings. The 256 px entry must be PNG-compressed, because a BMP 256 entry adds about 260 KB to the exe. `build.rs` embeds `assets/app.ico` through `embed-resource` (`assets/app.rc`) and embeds `assets/app.manifest` with linker args. diff --git a/Cargo.lock b/Cargo.lock index b9b7725..3497df2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -20,7 +20,7 @@ checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" [[package]] name = "dim" -version = "0.1.0" +version = "1.0.0" dependencies = [ "embed-resource", "windows-sys", diff --git a/Cargo.toml b/Cargo.toml index c6f77f8..30d7269 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dim" -version = "0.1.0" +version = "1.0.0" edition = "2024" rust-version = "1.99" description = "dim - Disk Image Mounter: minimal disc image mounter for Windows" diff --git a/README.md b/README.md index fbb493b..407ba88 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ [![Size](https://img.shields.io/badge/exe-~340%20KB-success?style=flat-square)](#why-dim) [![License: MIT](https://img.shields.io/badge/license-MIT-green?style=flat-square)](LICENSE) -[Quick start](#quick-start) · [Formats](#supported-formats) · [Shortcuts](#shortcuts-and-command-line) · [How it works](#how-it-works) · [Limits](#limits) · [FAQ](#faq) · [Build](#build-from-source) +[Quick start](#quick-start) · [Formats](#supported-formats) · [Shortcuts](#shortcuts-and-command-line) · [How it works](#how-it-works) · [Limits](#limits) · [FAQ](#faq) · [Build](#build-from-source) · [AI disclosure](#ai-disclosure) dim main window: empty drive list with a drag-and-drop hint @@ -155,6 +155,13 @@ src/ AI coding agents and contributors: start with [AGENTS.md](AGENTS.md). +## AI disclosure + +Generative AI wrote most of this project. The Rust code, tests, documentation and CI workflows were produced +with [Claude Code](https://claude.com/claude-code) (Anthropic). The developer set the goals and design +decisions, reviewed the generated changes, tested the app on Windows, and is responsible for the result. +Bugs are possible: please [open an issue](https://github.com/glauberlima/dim/issues). + ## License [MIT](LICENSE) © 2026 [Glauber Lima](https://github.com/glauberlima) diff --git a/assets/app.rc b/assets/app.rc index 79e45c8..b2a0797 100644 --- a/assets/app.rc +++ b/assets/app.rc @@ -2,8 +2,8 @@ // Keep the version in sync with Cargo.toml. 1 VERSIONINFO -FILEVERSION 0,1,0,0 -PRODUCTVERSION 0,1,0,0 +FILEVERSION 1,0,0,0 +PRODUCTVERSION 1,0,0,0 FILEOS 0x4 FILETYPE 0x1 { @@ -11,8 +11,8 @@ FILETYPE 0x1 BLOCK "040904B0" { VALUE "FileDescription", "Disk Image Mounter" VALUE "ProductName", "Disk Image Mounter" - VALUE "FileVersion", "0.1.0" - VALUE "ProductVersion", "0.1.0" + VALUE "FileVersion", "1.0.0" + VALUE "ProductVersion", "1.0.0" VALUE "OriginalFilename", "dim.exe" VALUE "LegalCopyright", "(c) 2026 Glauber Lima" }