Last active
December 16, 2015 05:39
-
-
Save iamssen/5385892 to your computer and use it in GitHub Desktop.
AIR 자동 업데이트 설정
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function update_initHandler(event:Event):void { | |
trace("DashboardApp.update_initHandler()", event); | |
if (!Capabilities.isDebugger && update.state === AIRUpdateState.AVAILABLE) { | |
update.update(); | |
} else { | |
currentState="run"; | |
} | |
} | |
<update:AIRUpdate id="update" updateURL="http://xxx.com/air/update.xml" init="update_initHandler(event)"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<update xmlns="http://ns.adobe.com/air/framework/update/description/2.5"> | |
<versionNumber>0.1.1</versionNumber> | |
<url>http://12.28.200.201:7011/KPI/air/DashboardApp.air</url> | |
<description>application 을 업데이트 합니다</description> | |
<!--<text xml:lang="en">English description</text> | |
<text xml:lang="fr">French description</text> | |
<text xml:lang="ro">Romanian description</text>--> | |
</update> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment