Skip to content

Commit

Permalink
Use SHOW_SUBWINDOW=0 to hidden these two window.
Browse files Browse the repository at this point in the history
  • Loading branch information
lygstate committed Aug 8, 2014
1 parent 830decc commit 8714b34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions starter/NotepadStarterInstall.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions starter/NotepadStarterUninstall.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8714b34

Please sign in to comment.