Remove unnecessary insider check in Ohook script + make CAS beginning comment consistent with other scripts

This commit is contained in:
Lyssa 2026-01-27 17:12:28 +04:00
parent a93b4b3f4b
commit f0d13cb216
2 changed files with 4 additions and 2 deletions

View file

@ -456,7 +456,6 @@ goto :oh_menu
cls
if not defined terminal (
mode 140, 32
if exist "%SysPath%\spp\store_test\" mode 140, 32
%psc% "&{$W=$Host.UI.RawUI.WindowSize;$B=$Host.UI.RawUI.BufferSize;$W.Height=32;$B.Height=300;$Host.UI.RawUI.WindowSize=$W;$Host.UI.RawUI.BufferSize=$B;}" %nul%
)
title Ohook Activation %masver%

View file

@ -1,9 +1,12 @@
@echo off
::============================================================================
::
:: Check-Activation-Status
:: Written by @abbodi1406
:: https://gravesoft.dev/cas
::
::============================================================================
:: Set Environment variables, it helps if they are misconfigured in the system