diff --git a/starter/NotepadStarterInstall.bat b/starter/NotepadStarterInstall.bat index 6d17bf9..0680397 100644 --- a/starter/NotepadStarterInstall.bat +++ b/starter/NotepadStarterInstall.bat @@ -13,6 +13,7 @@ if not exist "%NotepadStarter%" ( goto NoNotepadPlusPlusOrNotepadStarter ) if not exist "%NotepadPlusPlus%" ( goto NoNotepadPlusPlusOrNotepadStarter ) ::获取管理员权限 +set SHOW_SUBWINDOW=0 call "%~dps0request-admin.bat" "%~dpnxs0" %* reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /f diff --git a/starter/NotepadStarterUninstall.bat b/starter/NotepadStarterUninstall.bat index 5ab9e00..2629fcc 100644 --- a/starter/NotepadStarterUninstall.bat +++ b/starter/NotepadStarterUninstall.bat @@ -2,6 +2,7 @@ @echo off ::获取管理员权限 +set SHOW_SUBWINDOW=0 call "%~dps0request-admin.bat" "%~dpnxs0" %* reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /f