feat: NSIS 中文安装器(年糕历险记-Setup-v0.1.0.exe 实际构建+静默安装验证)、菜单鼠标可见性修复、首页 UI 原版复刻(土质背景/原版按钮/splash/版本角标)、全 goroutine 崩溃兜底
This commit is contained in:
45
tools/nsis/nsis-3.10/Examples/example1.nsi
Normal file
45
tools/nsis/nsis-3.10/Examples/example1.nsi
Normal file
@@ -0,0 +1,45 @@
|
||||
; example1.nsi
|
||||
;
|
||||
; This script is perhaps one of the simplest NSIs you can make. All of the
|
||||
; optional settings are left to their default settings. The installer simply
|
||||
; prompts the user asking them where to install, and drops a copy of example1.nsi
|
||||
; there.
|
||||
;
|
||||
; example2.nsi expands on this by adding a uninstaller and start menu shortcuts.
|
||||
|
||||
;--------------------------------
|
||||
|
||||
; The name of the installer
|
||||
Name "Example1"
|
||||
|
||||
; The file to write
|
||||
OutFile "example1.exe"
|
||||
|
||||
; Request application privileges for Windows Vista
|
||||
RequestExecutionLevel user
|
||||
|
||||
; Build Unicode installer
|
||||
Unicode True
|
||||
|
||||
; The default installation directory
|
||||
InstallDir $DESKTOP\Example1
|
||||
|
||||
;--------------------------------
|
||||
|
||||
; Pages
|
||||
|
||||
Page directory
|
||||
Page instfiles
|
||||
|
||||
;--------------------------------
|
||||
|
||||
; The stuff to install
|
||||
Section "" ;No components page, name is not important
|
||||
|
||||
; Set output path to the installation directory.
|
||||
SetOutPath $INSTDIR
|
||||
|
||||
; Put file there
|
||||
File example1.nsi
|
||||
|
||||
SectionEnd
|
||||
Reference in New Issue
Block a user