-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Name "PaoTin++ for Windows" | ||
OutFile PaoTin++.exe | ||
ShowInstDetails show | ||
AllowRootDirInstall true | ||
|
||
!include "FileFunc.nsh" | ||
|
||
Page custom selectDriver | ||
Page instfiles | ||
|
||
Var Dialog | ||
Var Drive | ||
|
||
Function selectDriver | ||
nsDialogs::Create 1018 | ||
Pop $Dialog | ||
|
||
${NSD_CreateDropList} 0 0 100% 20u "选择你要安装到哪个盘" | ||
${GetDrives} "HDD" "Example1" | ||
|
||
nsDialogs::Show | ||
|
||
CreateDirectory "%LOCALAPPDATA%\Microsoft\Windows Terminal\Fragments\PaoTin++" | ||
CreateDirectory "%LOCALAPPDATA%\Microsoft\Windows Terminal Preview\Fragments\PaoTin++" | ||
FunctionEnd | ||
|
||
Function Example1 | ||
MessageBox MB_OK "$9 ($8 Drive)" | ||
Push $0 | ||
FunctionEnd |