Repository navigation
Releases
Releases · retrixe/imprint
1.0.0-alpha.3
Massive release since the last version! 🎉
- First up, Writer is now Imprint!
- Imprint no longer uses
dd, but writes images to disk itself using a helper process 🎉 - Imprint no longer uses privilege escalation for the entire process, and only launches the helper process with elevated privileges 🔒
- The user interface has been completely overhauled 🎊 Written in TypeScript, React and Joy UI to look pretty
- Validation is now implemented after the image is written to disk ✔️
- The README has been updated with instructions on usage as well 🗒️
- Devices are unmounted now before being written to, and exclusively locked during the write process 🦖
Major Changes
- Edit some TODOs, rename src/ to ui/: 9d87e8b
- Reorganise Go code into utils package: 035f1d3
- Update webview lib, drop launcher wrapper \o/: 4d78a94
- Rename writer to imprint: 77a7524
- Overhaul user interface using Joy UI: ef0e6d2
- Complete UI redesign.: 6814918
Minor Changes
- Add Windows launcher, detect privilege elevation. - The launcher unpacks the exe and DLL files to LocalAppData. - The launcher then starts the exe with UAC.: 4c81afb
- Add device discovery and compile for Windows.: ada163c
- Write dd wrapper for better Cancel.: 3622c5e
- Write more docs, work on dd reimplementation.: 159d5a0
- Migrate UI layer to TypeScript, lint in Actions.: 679ca9a
- Add debug tool, default to custom dd, fix error.: 851ac43
- Exclusively lock device, clean renderer code: b29ad69
- Switch to CSS modules from Emotion: 5b157a2
- Add device unmount logic for macOS/Linux: df91191
- Add flash cancel UI, fix unit conversion: 3b24815
- Refactor progress screen and flashing code: b2f352b
- Fix flashing error, add progress phases: 7291749
- Add validation phase: acafa41
- Fix build failure, add disable validation flag: 9051ebd
- Write a proper README: 081f3ce
- Capitalise Imprint, note untested CD/DVD support: 12a21e0
- Rename disable-validation flag to skip-validation: b04f688
- Add .zed/settings.json for Yarn PnP + Biome LSP: 3aeda27
Patches
- Fix launcher error, add Windows compile scripts.: e75c112
- Remove UAC from launcher, clean build scripts.: 35ec1c1
- Fix crash, add debug config, instant UI feedback.: d7e9938
- Update Yarn.: 80395f4
- Support Node.js 17+, use React 18, update deps.: 7b58b6f
- Switch to Parcel for faster builds.: 8d27a95
- Move custom dd to own file, make it functional.: 38eac27
- Toggle custom dd, tweak custom dd behaviour.: 5110dbf
- Fix stopping custom dd, work on unmounting disk.: 20c111f
- Display errors in custom flashing code correctly.: 0a08f40
- Require Go 1.19, update Actions workflow.: c88a06b
- Polyfill BigInt, minify and optimise JS bundle.: 22cd07a
- Improve flash performance, update Yarn.: 7485935
- Update Yarn, all deps, use Prettier for linting: 4de6684
- Use TSConfig base, fix CI and lints, rename ui dir: 7314628
- Support HMR, move around renderer files: ba09082
- Fix CI, remove unneeded CI steps, fix warning: 765898a
- Update deps, move files around: dd46549
- Move Prettier conf to package.json, clean TODOs: 24f020f
- Improve debug, fix warn, trim code, enlarge window: 0bd9a30
- Shorten errors, fix flashing and error handling: 5728242
- Fix flashing and validating devices: e975d01
- Clean up how the debug device works: bee903a
- Update to ESLint v9, fix Actions: 59491a7
- Fix Actions CI on Windows: 2516d2a
- Filter non-removable devices on Linux Fix #6: 445dea8
- Update all dependencies, fix SCSS module warnings: 6ee3699
- Write tests for utils, require Go 1.22: ec9b7ae
- Fix Actions, add more unit tests: 0e507cf
- More Actions fixes, improve elevation test: b9f012f
- Introduce platform abstraction for test mocks: a8eb718
- Expand sudo tests, rework mockSudoPlatform: 882f967
- Achieve full test coverage for sudo.go: 1d4b2fb
- Cover dd.go with tests: 804ff71
- Test validation errors in dd.go: 33c500b
- Rework error handling in dd.go to be more testable: 62d2702
- Update system dd's error handling: 78c08d8
- Add tests for flash/validation progress format: c2febe0
- Fix errors when flash src/dest doesn't exist: b368a2d
- Switch to Prettier from Biome 🎉: a142df7
- Update all dependencies: dde04f3
- Use Platform in GetDevices, rename SystemPlatform: 246104a
- Move sudo_test to app_test, fix gofmt in VSCode: fc357b1
- Fix possible race when testing ParseCLIFlags: 588de5f
- Overhaul elevation tests into a struct table: f12b805
- Run all tests correctly, move imaging to a package: 16c11dd
- Remove ParseCLIFlags in favor of flags in stdlib: 4700353
- Fix ESLint warning, dd tests on macOS/Windows: a9b6c7f
- Fix deleting temp files/folders on Windows File handles were not being closed correctly in GenerateTempFile.: a987c94
- Close destination file in ValidateDiskImage: 05f534e
- Fix test parallelism, remove redundant function: 87c08a9
- Write tests for GetDevices: 4433a91
- Add todos to use syscalls instead of exec'ing cmds Would eliminate deps on util-linux.: a172c95
- Fix possible bugs with, refactor flashivalidation: edaaaae
- Fix wrong error returned by ValidateDiskImage: 9258651
- Move fns independent of app into
imagingpackage We want to use these from glassUSB.: c7bc5c8 - Update FIXME/TODOs to prioritise 1.0 release: 188344d
- Update RunDd and WriteDiskImage tests RunDd tests are a bit more comprehensive now.: 74c6aa0
- Deprioritise using syscalls for mount/umount: 2c3aa9c
- Read /proc/mounts directly in UnmountDevice: 6efb101
- Update Yarn + JS dependencies: 7dab0ef
- Run Actions using Node.js LTS versions Using Node.js 25 breaks Yarn PnP.: 735f839
- Fix Zed not formatting Golang correctly: 286adae
- Switch to Oxfmt from Biome Oxfmt seems like it'll be the more popular and performant solution, and it's more compatible with Prettier than Biome is.: d71f0b0
- Use strings.Cut where gopls suggested TIL strings.Cut is a thing: 0612ff0
- Galaxy 🧠 fix oxfmt + PnP + VSCode cross-platform I actually haven't tested on Windows, but it should work.: be38f84
- Rename CROrLFLines function: e7f3917
- Refactor device discovery code on Linux: 3df8c96
- Write tests for ScanCROrLFLinux, fix its behavior: bc1dce7
- Fix nit in ScanCROrLFLines docs: ea0f948
- Use syscall.Unmount on Linux directly: f2229e6
- Make UnmountDevice testable on Linux Introduce UnixPlatform to handle syscalls. Tests are still forthcoming, though.: b60a61a
- Add complete unit tests for macOS: 9408617
- Remove Oxfmt + PnP hack for VSCode Yarn PnP support was fixed upstream: oxc-project/oxc-vscode#160: ce188b5
- Unmount partitions correctly on Li...
1.0.0-alpha.2
🎉 More bug fixes targeted towards macOS \o/ This release might be slightly less stable than older versions, but so far in testing, it's mostly bug-free apart from some user interface quirks which will eventually be ironed out in an upcoming refactor.
Changelog
- Show version in title.
- Add support for RAW and DMG files.
- Disabled
Inspect Elementwithoutenv DEBUG=true. - Fixed a bug causing flashing to copy the file to
/root. - Fixed an error caused when no devices are plugged in.
- Fixed the Cancel button not working with a temporary workaround.
- Huge macOS fixes: Fix GUI not showing, dialog not allowing you to select ISO/IMG files, add device discovery and privilege escalation support.
For 1.0, the following needs to be gotten over with:
- A README is a good idea.
- E2E testing on macOS and Linux.
- Privilege escalation by relaunching app.
- Revamped user interface is in the works.
How to Use
- Windows: Not yet supported (see #3)
- macOS and Linux: Download the tar.xz, extract and run! You may need to mark as executable using the
chmod +x writerTerminal command, or inRight Click->Properties.
1.0.0-alpha.1
🎉 The first release of writer! Writer is a tiny lightweight alternative to Etcher for flashing ISOs to USBs. It works on Linux (and macOS, somewhat). Windows support is planned later.
Currently, there remain several issues:
- macOS privilege escalation is not yet there.
- Revamped user interface is in the works.
- No testing done on macOS yet.
Future issues to be tackled before or after 1.0 include Windows ISO flashing support and written image validation.
How to Use
- macOS: Download the tar.xz, extract the
writerfile, put it inDownloads, open a terminal and runchmod +x ~/Downloads/writerandsudo ~/Downloads/writer. This is a temporary workaround until privilege escalation for macOS is complete. - Linux: Download the tar.xz, extract and run! You may need to mark as executable using
chmod +x writeror inRight Click->Properties.