Skip to content

Releases

MyDiskly v1.2.0 hotfix

Choose a tag to compare

@darkostepbro darkostepbro released this 10 Nov 20:29
68afa40

COMING SOON

🌐 Language / Bahasa: English (Main GitHub) | Bahasa Indonesia (GitHub ID)

Release Date: November 2026
License: GNU General Public License v3.0 (GPL-3.0)
Target Platform: Windows 10 & Windows 11 (x64) — Official Builds & Debloated Editions (Ghost Spectre, AtlasOS, Tiny11, ReviOS)
Repository: github.com/darkostepbro/mydiskly-desktop


⚡ Executive Summary

MyDiskly v1.2.0-hotfix is a major kernel-level engineering and Windows 11 Settings precision UI upgrade built upon the proven v1.1.0 native Rust foundation (egui / eframe ~4.3 MB). Rather than resetting or discarding v1.1.0 capabilities, this hotfix introduces:

  1. Strict Separation of Routine Cache Unlink vs. File Shredder (shredder.rs) with exact NTFS MFT-Resident (<= 1024 Bytes) vs. Non-Resident (> 1024 Bytes FSCTL_FILE_LEVEL_TRIM) handling and in-memory drive medium caching (OnceLock<Mutex<HashMap<char, DriveMedium>>>).
  2. 5-Category Windows 11 Settings-Style Collapsible Cleaner (cache_scanner.rs) expanding support to Microsoft Office 365/16.0, WPS Office (Kingsoft Office 6), Opera / Opera GX, Vivaldi, Tor Browser, All Adobe CC Apps, and TikTok LIVE Studio, complete with an interactive App Recommendation Feedback Bar.
  3. 5-Layer Disk & OS Safety Interlock (is_safe_deletion_target) guaranteeing 100% physical drive and OS kernel safety before any file or directory unlink.
  4. Windows 11 Settings Precision UI featuring a cleaned "This PC" Overview panel (live SMBIOS motherboard & hostname sync, no wallpaper edit icon, clean standard footer), a top-right v Tray Menu (1. Check Update, 2. Visit Us (Website), 3. Help), and a dedicated Help & Privacy Terms modal window.

🔬 Critical Kernel & Hardware Edge Cases Resolved

1. Hardware-Aware Zero-TBW Deallocation: Routine Cache Cleaner vs. File Shredder (shredder.rs)

  • In-Memory Drive Medium Cache (OnceLock<Mutex<HashMap<char, DriveMedium>>>): Queries IOCTL_STORAGE_QUERY_PROPERTY (StorageDeviceSeekPenaltyProperty) once per drive letter (\\.\C:) and caches the result in memory, preventing thousands of redundant kernel handle opens during batch cleaning.
  • Routine Cache Cleaner (deallocate_cache_file — 0-Byte TBW Fast Unlink):
    • When cleaning tens of thousands of routine browser/system cache files, performing per-file 0x00 writes and FlushFileBuffers (sync_all()) would stall the NTFS journal ($LogFile) and cause SSD write amplification.
    • deallocate_cache_file validates is_safe_deletion_target(path), clears readonly attributes if set, and executes a fast metadata unlink (std::fs::remove_file), delegating batch asynchronous DeleteNotify (TRIM) directly to ntfs.sys with 0-Byte Host TBW.
  • Dedicated File Shredder (wipe_file_safe — Sensitive File Sanitization):
    • On SSD (IncursSeekPenalty == 0): Automatically locks out multi-pass overwrite (DoD 3-Pass / Gutmann) to protect NAND flash longevity:
      • Case 1 — NTFS MFT-Resident Files (file_len <= 1024 Bytes / Exact Size of 1 NTFS MFT Record): Because an NTFS Master File Table record is exactly 1024 bytes, small files (<= 1024 bytes) reside inline inside the MFT record's $DATA attribute without external LBA clusters. MyDiskly writes a single-pass 0x00 scrub + file.sync_all() before set_len(0) and remove_file.
      • Case 2 — Non-Resident Files (file_len > 1024 Bytes): Issues FSCTL_FILE_LEVEL_TRIM (with the mandatory 4-byte FileLevelTrimOutput buffer per Microsoft [MS-FSCC] 2.3.14) BEFORE file.set_len(0) so VCN-to-LCN cluster extents are physically trimmed at 0-Byte TBW.
    • On Mechanical HDD (IncursSeekPenalty != 0): Executes sequential multi-pass overwrite (1-Pass Zero, DoD 5220.22-M 3-Pass with ChaCha20Rng, or Gutmann 35-Pass).

2. The 5th Safety Interlock: is_safe_deletion_target(path) (cache_scanner.rs & shredder.rs)

Before any file or folder is deleted in cache_scanner.rs or shredder.rs, is_safe_deletion_target(path: &Path) -> bool enforces:

  1. Minimum Component Depth (path.components().count() >= 4): Prevents catastrophic deletion on root drives (C:\, C:\Windows, C:\Users, C:\Program Files) if an environment variable ever fails to resolve.
  2. Kernel & Boot Directory Blocklist: Strictly rejects any path inside C:\Windows\System32, C:\Windows\SysWOW64, C:\Windows\WinSxS, C:\Windows\Boot, or C:\EFI.
  3. Anti-Junction & Win32 Reparse Point Guard (0x0400): Rejects symbolic links and any directory/file carrying FILE_ATTRIBUTE_REPARSE_POINT (0x0400) so Administrator execution never traverses NTFS junctions (mklink /J).
  4. Riot Vanguard & Claude Code Session Immunity: Hardcoded blocklist protecting Riot Vanguard / vgk and Claude Code transcripts (.claude\projects, .jsonl).
  5. User Work & Privacy State Protection: Protects Microsoft Office AutoRecover files (.asd, .xar, .unsaved), WPS Office auto-backups (office6\backup), and Tor Browser network state & databases (TorBrowser\Data\Tor, places.sqlite, cookies.sqlite).

3. Defender-Safe Atomic Self-Updater (updater.rs)

  • Stages updates on the same volume (mydiskly.exe.new), verifies streaming 64 KB SHA-256 checksums, renames the active binary to mydiskly.exe.bak, and executes a 5-retry loop (250ms backoff) to handle temporary Windows Defender (MsMpEng.exe) scan locks, with automatic two-stage rollback on failure.

📊 Version Evolution & Comparison Matrix (v1.0.0 -> v1.1.0 -> v1.2.0-hotfix)

Capability / Architecture v1.0.0 (Foundation) v1.1.0 (SIMD & Shredder) v1.2.0-hotfix (5-Category Engine, 0-TBW SSD & Win11 UI)
Core Engine & GUI Native Rust + egui Native Rust + egui 0.29 Native Rust + egui 0.29 (100% Sharp Pixel-Snapped UI)
Routine Cache Deletion Basic remove_file Basic remove_file 0-TBW Fast Metadata Unlink (deallocate_cache_file) + Batch NTFS TRIM
File Shredder (SSD vs HDD) Not available Blind Multi-Pass Overwrite SSD <= 1024B MFT Scrub / > 1024B FSCTL_FILE_LEVEL_TRIM vs HDD Multi-Pass
Drive Medium Detection None Uncached IOCTL In-Memory Cached IOCTL_STORAGE_QUERY_PROPERTY (SeekPenalty)
Cleaner UI Organization Flat list 4 Static Sections 5 Collapsible Windows 11 Settings Accordions + App Feedback Bar
Office & Productivity Support None None Microsoft Office 365/16.0 (OfficeFileCache/Wef) & WPS Office (office6\cache)
Browser Multi-Profile Engine Chrome / Edge basic Chrome, Brave, Edge, Firefox + Opera, Opera GX (Local+Roaming), Vivaldi & Tor Browser (cache2)
Creative & Media Suite None Basic Temp All Adobe CC Apps (Media Cache Files vs .mcdb Guard), TikTok LIVE Studio, Figma, CapCut, OBS
5-Layer Safety Interlock Basic path check Symlink check is_safe_deletion_target (Depth >= 4, Kernel Blocklist, 0x0400 Reparse, Vanguard, .asd/.jsonl)
Top-Right Tray & Help Window None Minimize / Close only Top-Right v Tray Menu (Check Update, Visit Us, Help & Privacy Terms)

📦 5-Category Collapsible Cleaner Matrix

Accordion Category Default State Covered Applications & Targets Safety & Performance Classification
1. Windows OS System Open Windows Temp, Prefetch, SoftwareDistribution, CBS Logs, Recycle Bin, Microsoft Office 365/16.0, WPS Office, Explorer Thumbnails SafeToDelete (Temp/Update/Office/WPS) & PerformanceGuard (thumbcache_*.db)
2. Web Browser Collapsed Brave, Google Chrome, Microsoft Edge, Mozilla Firefox, Opera / Opera GX, Vivaldi, Tor Browser SafeToDelete (Cache_Data, cache2) & PerformanceGuard (Code Cache, GPUCache, startupCache)
3. Developer Tools Collapsed Google Antigravity IDE, Visual Studio Code, Claude Code CLI SafeToDelete (Cache_Data, CachedData, logs) & PerformanceGuard (GPUCache, Code Cache)
4. Creative Suite Collapsed All Adobe CC Apps (Photoshop, Premiere, AE, Illustrator, Lightroom, CameraRaw), TikTok LIVE Studio, Figma, CapCut, OBS Studio SafeToDelete (Media Cache Files, CameraRaw\Cache, Photoshop Temp*, logs) & PerformanceGuard (.mcdb, Peak Files, PTX, Proxy)
5. Gaming Core Collapsed VALORANT, Steam Client, Discord, DirectX & GPU Shaders (NVIDIA DXCache, AMD DxCache, D3DSCache) SafeToDelete (Logs/Crashes/HTML Cache) & PerformanceGuard (Shader Caches)

🛠️ Verification & Build Instructions

cd C:\Users\DARKO\.gemini\antigravity\scratch\version-1.2.0-hotfix
cargo check --workspace
cargo test --workspace
cargo build --release

For Indonesian documentation, refer to RELEASE_v1.2.0_ID.md and README_ID.md.

MyDiskly v1.1.2026 - Porting to RUST!

Choose a tag to compare

@darkostepbro darkostepbro released this 03 Nov 23:37

MyDiskly v1.1.2026 — Pure Native Rust Edition 💽

We are proud to introduce MyDiskly v1.1.2026, marking a complete architectural migration from the legacy Python prototype to a 100% pure native Rust application. This release delivers unprecedented performance, instant responsiveness, and dramatically reduced memory usage across all Windows 10 and Windows 11 editions.


⚡ Key Highlights & Benchmarks

Metric Legacy Version (Python / PyInstaller) v1.1.2026 (Pure Native Rust) Improvement
Engine & Stack Python 3.11 + Tkinter / ctypes Pure Rust 2021 (Win32 + Glow Native) Zero Runtime Dependencies
Active Memory (RAM) ~110 MB – 180 MB ~30 MB – 40 MB ~80% Memory Reduction
Tray / Minimized RAM ~75 MB – 90 MB ~3 MB – 5 MB ~95% Memory Reduction
Startup Time 2.5 – 4.0 seconds < 50 milliseconds Instant Launch (50x Faster)
Binary Dependencies Python DLLs, WebView2, MSVCRT None (Self-Contained Executable) 100% Standalone
Installer Size ~21 MB (Portable Zip) ~2.29 MB (Portable Zip) 90% Smaller Package

🚀 What's New in v1.1.2026

🖥️ Native UI & Window Architecture

  • Vertical Right-Docking: Always-On-Top 420 px workspace dock aligned with Windows desktop bounds (SPI_GETWORKAREA).
  • Acrylic Dark Blur: Native DWM and composition effects with rounded corners and fluent styling.
  • Window Controls: Minimalist Close [x] and Minimize [—] buttons with full System Tray integration (single-click restore, double-click launch).
  • Runtime Bilingual Toggle: Instant language switching between English (EN) and Indonesian (ID).

💽 Telemetry & S.M.A.R.T Monitoring

  • Interactive Partition Explorer: Click any partition card to open directly in Windows Explorer or inspect native drive properties.
  • Physical Drive S.M.A.R.T Sensors: Automatic detection of NVMe, SSD, and HDD health percentages (%), operating temperatures (°C), and power-on hours.
  • Docked 30-Second I/O Waveform Graph: Sub-pixel 60 FPS real-time read/write throughput graph anchored to the Dashboard.

🧹 Safe Smart Cleaner with Isolated Browser Cache

  • Isolated Browser Cache Scanner: Safe cleanup for Google Chrome, Brave, and Microsoft Edge caches. Guarantees zero loss of browsing history, bookmarks, cookies, or saved sessions.
  • Permission Shield: Clear visual indicator badges for [User mode] and [Admin mode]. Privileged system cache options are protected with one-click elevation.
  • Completion Modal Dialog: Soft-blur background popup presenting cleaned storage metrics upon task completion.

⚙️ Hardware Specifications & Audio Feedback

  • 15-Parameter Hardware Audit: Structured overview of system hardware without horizontal scrolling.
  • Proactive Cache Reminders: Configurable alert thresholds (500MB, 800MB, 1GB, 2GB, Custom, Never) paired with an authentic native notification sound (interface.wav).
  • Component Persistence:
    • mydiskly.ini: Application preferences.
    • myspecs.ini: Device specification header formatted as [{user} - {computer}]. Automatically refreshes on hardware or USB changes.
    • historydiskhealth.ini: Timestamped drive health history records.

📦 Setup Wizard & Uninstaller Suite (480 × 300 px)

  • 3-Step Setup Roadmap: Welcome ➔ Installing ➔ Complete with modern rounded pill switches.
  • Silent Background Execution: Runs all shortcut deployments silently in the background without command prompt flashes.
  • Clean Deployment: Installs exactly 6 self-contained files into %LOCALAPPDATA%\Programs\MyDiskly.
  • Permanent Clean Uninstaller: 4-layer force-termination to close elevated or background instances, unlock files, and completely remove all directories and registry entries.

🔒 Checksums (SHA-256)

File SHA-256 Hash
MyDiskly-Setup.exe E65CD2933048FD1369FD25891A26326237E5565D27E3209A94F41542EDA818D2
MyDiskly-v1.1.2026-Portable.zip 941ED946CCF40D82D5307CF24E0A818B7E15D88C86B25E740A41E0322B86F333

Full Changelog: darkostepbro/mydiskly-desktop-id@v1.0.2026...v1.1.2026