v1.2.4
[1.2.4] - 2026-05-27
Added
- Try/Catch Block C# Compiler Logging: Wrapped the inline
Add-Typecompilations inSetup.ps1andSAMISH.ps1in try/catch blocks. If a strict Windows environment or security policy blocks dynamic compilation, the setup hider, AppUserModelID, Power Interceptor, and hotkey systems fail gracefully and output full diagnostic details tosamish.logand the Windows Application Event Log rather than failing silently or causing script crashes.
Changed
- Dynamic Sleep Delay Polling: Optimized graceful stop sequences by replacing the static
Start-Sleepdelay with a dynamic, low-impact 50ms polling loop that queriesMainWindowHandleand process exit state. Graceful closures now complete immediately once the process UI handles disappear, accelerating sleep transitions.
Fixed
- UI Configuration Sync and State Lock: Fixed a bug where checking/unchecking the "Enable Logging" or "Enable Hotkey Toggle" checkboxes did not dynamically enable/disable their respective configuration dropdowns and textboxes. Added event listeners and startup synchronization so that the active state of logging and hotkey parameters always accurately reflects the saved
config.jsonvalues and interactive toggles. - Stray Startup Output '0' Box: Cast
SetCurrentProcessExplicitAppUserModelIDAPI call to[void]inSetup.ps1to prevent outputting0to the stdout pipeline, resolving the empty message box shown byps2exeon startup. - SFX Configuration Corruption: Relocated
rceditbranding operations inbuild.ps1to run on a temporary copy of the SFX stub prior to file concatenation. This preserves the 7-Zip configuration and archive overlay payload at the end of the executable, resolving theCould not read SFX configurationcrash.
Because SAMISH is a free, open-source tool compiled from PowerShell scripts, the installer (SAMISH_Setup_v1.2.4.exe) does not currently have an expensive digital signature. As a result, Windows and your web browser will likely flag it as an "unrecognized app" until it builds up a download reputation.
When downloading and installing, you can expect the following:
Browser Warning: Chrome or Edge might say the file "is not commonly downloaded." You will need to click the options menu (three dots) and select Keep to finish the download.
Windows SmartScreen: When you run the installer, Windows may show a blue "Windows protected your PC" screen. Click More info, then click Run anyway.
User Account Control (UAC): SAMISH requires Administrator rights to help configure your Windows power profiles (so it can manage your screen sleep timers). You will see a standard Windows prompt asking to allow the app to make changes. Click Yes.
Transparency is important to us! If you are ever uncomfortable bypassing these warnings, the complete, uncompiled PowerShell source code is always available in this repository for you to review and run manually.