2
我想用传递给程序的参数在启动文件夹中包含指向我的应用程序的链接。使用Adobe AIR中的参数添加启动文件夹的快捷方式
我认为它会工作,如果我在本地创建快捷方式,然后将其添加到我的来源。之后,我可以在第一次运行时将其复制到启动文件夹。
File.userDirectory.resolvePath("Start Menu\\Programs\\Startup\\startup.lnk");
但是,我想在安装过程中发生这种情况。我发现在app.xml中有一些与安装相关的设置,但没有让我可以将它安装到两个文件夹或使用参数。
<!-- The subpath of the standard default installation location to use. Optional. -->
<!-- <installFolder></installFolder> -->
<!-- The subpath of the Windows Start/Programs menu to use. Optional. -->
<!-- <programMenuFolder></programMenuFolder> -->