Add readme to winpack

This commit is contained in:
John Zhao 2018-11-02 13:01:54 +08:00
parent 6fa55e9ad7
commit 8bc4089677
3 changed files with 9 additions and 2 deletions

0
platforms/win/README.txt Normal file
View File

View File

@ -96,8 +96,9 @@ SectionEnd
Function .onInstSuccess
;WriteRegStr "HKLM" "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" "View README" \
; "cmd.exe /c start /max notepad.exe $INSTDIR\README"
WriteRegStr "HKLM" "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" \
"View MYNTEYES README.txt" \
"cmd.exe /c start /max notepad.exe $INSTDIR\README.txt"
MessageBox MB_OKCANCEL "Reboot your system now?" /SD IDOK IDCANCEL NoReboot
Reboot

View File

@ -103,6 +103,9 @@ _rm "$ROOT_DIR/tools/_output"
mv "$ROOT_DIR/tools/linter" "$ROOT_DIR/3rdparty/linter"
mv "$ROOT_DIR/tools" "$ROOT_DIR/_install/tools"
# platforms/win
mv "$ROOT_DIR/platforms/win/README.txt" "$ROOT_DIR/_install"
################################################################################
# copy to _install
@ -146,6 +149,9 @@ mv "$ROOT_DIR/_install/samples" "$ROOT_DIR/samples"
mv "$ROOT_DIR/_install/tools" "$ROOT_DIR/tools"
mv "$ROOT_DIR/3rdparty/linter" "$ROOT_DIR/tools/linter"
# platforms/win
mv "$ROOT_DIR/_install/README.txt" "$ROOT_DIR/platforms/win"
################################################################################
# clean build