Skip to content

Commit

Permalink
nsis自定义安装路径完美版,注释
Browse files Browse the repository at this point in the history
  • Loading branch information
xianyunleo committed Jan 12, 2024
1 parent 06603b6 commit 0b54992
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/installer.nsh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
!macro preInit
# electron win自定义安装路径完美版,看似简短,实则本人研究多日,深入学习了nsis。复制使用此代码,还请给项目点个星星,谢谢。
Var /GLOBAL installDir
SetRegView 64
ReadRegStr $installDir HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation
Expand Down

0 comments on commit 0b54992

Please sign in to comment.