Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

<img src="docs/images/screenshot.png" alt="dim main window: empty drive list with a drag-and-drop hint" width="720">

Expand Down Expand Up @@ -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)
8 changes: 4 additions & 4 deletions assets/app.rc
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

// 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
{
BLOCK "StringFileInfo" {
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"
}
Expand Down