Repository navigation
ARCWorks Simple Receipt Printer 1.0.1
A robustness and privacy patch based on feedback after the first public release. The approved receipt appearance and paper layout are unchanged.
Fixed
- Restores the last selected receipt template on the next launch
- Skips malformed or temporarily unreadable template files instead of crashing at startup
- Validates imported template JSON before copying it into the application folder
- Disables Print and Print Preview when no valid printer is available
- Prevents simultaneous application instances from racing on local receipt-number state
- Keeps business identity in JSON templates rather than compiled model defaults
- Replaces key receipt-layout magic numbers with named constants
Resource handling
The reported logo GDI+ leak was already fixed in the v1.0.0 source (using var logo = Image.FromFile(...)). Version 1.0.1 adds a regression test that renders the logo and confirms its file handle is released immediately afterward.
Validation
- Regression tests: 3 passed
- Release build: 0 warnings, 0 errors
- Approved four-up preview: visually unchanged
- Inno Setup 6.7.3 compile: passed
- Installer install, application launch, and uninstall: passed
- SHA-256:
B1E5AF237D7434B077BE2CF7E27DA480DC2F53A62D757A6AD1C71C2F53E8A528
Windows may show an Unknown publisher warning because the installer is not digitally code-signed.