JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.
Python
fix(installer): launch app through explorer after setup
min_gitcodec5f4b354a3eb
diff --git a/scripts/installer.iss b/scripts/installer.issindex 59f173cd4b..0b650fc5f4 100644--- a/scripts/installer.iss+++ b/scripts/installer.iss@@ -44,6 +44,6 @@ Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon[Run]-; shellexec 让程序通过 ShellExecute 启动,正确处理 UAC 权限请求+; 通过 Explorer 代启动程序,使安装完成后的启动上下文更接近桌面快捷方式启动; postinstall 在安装向导最后一页显示"运行 JiuwenSwarm"复选框,由用户决定是否启动-Filename: "{app}\{#MyAppExeName}"; Flags: nowait postinstall shellexec\ No newline at end of file+Filename: "{win}\explorer.exe"; Parameters: """{app}\{#MyAppExeName}"""; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall