NSIS创建互斥,退出重复运行的程序

!define MyMutex_Update "MyMutex_Update"
Section
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "${MyMutex_Update}") i .r1 ?e'
Pop $R0
StrCmp $R0 0 +2
Quit
SectionEnd
© 版权声明
THE END
喜欢就支持一下吧
点赞5 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容