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> -->