mirror of
https://gitea.tendokyu.moe/beerpsi/fsdecrypt.git
synced 2026-09-22 22:17:55 +03:00
install-context-menu.bat / uninstall-context-menu.bat add a per-user (HKCU) Explorer entry for .app and .opt files, with an embedded unpack icon (assets/fsdecrypt.ico). No admin needed; the normal double-click association is untouched. The registered command keeps the console open after extraction. Documented in the README. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
14 lines
615 B
Batchfile
14 lines
615 B
Batchfile
@echo off
|
|
setlocal
|
|
rem ---------------------------------------------------------------------------
|
|
rem Removes the "Unpack with fsdecrypt" right-click entry installed by
|
|
rem install-context-menu.bat. Safe to run even if it was never installed.
|
|
rem ---------------------------------------------------------------------------
|
|
|
|
reg delete "HKCU\Software\Classes\SystemFileAssociations\.app\shell\fsdecrypt" /f >nul 2>&1
|
|
reg delete "HKCU\Software\Classes\SystemFileAssociations\.opt\shell\fsdecrypt" /f >nul 2>&1
|
|
|
|
echo Removed "Unpack with fsdecrypt" from the right-click menu of .app and .opt files.
|
|
pause
|
|
exit /b 0
|