重啟程式碼:
var app:WindowedApplication = WindowedApplication(FlexGlobals.topLevelApplication); var mgr:ProductManager = new ProductManager("airappinstaller"); mgr.launch("-launch "+app.nativeApplication.applicationID+" "+app.nativeApplication.publisherID); app.close();
需要修改設定檔:
<allowBrowserInvocation>true</allowBrowserInvocation>
更多Flex AIR 重啟需要修改的設定檔相關文章請關注PHP中文網!