Static variables

@:value("update-windows.exe")staticexecutableGitHubName:String = "update-windows.exe"

@:value("CodenameEngine.exe")staticexecutableName:String = "CodenameEngine.exe"

Constructor

new(releases:Array<GitHubRelease>)

Variables

downloadStream:URLLoader

@:value(false)executableReplaced:Bool = false

@:value(0)lastTime:Float = 0

@:value(0)oldBytesLoaded:Float = 0

path:String

@:value(new UpdaterProgress())progress:UpdaterProgress = new UpdaterProgress()

Methods

doFile(files:Array<String>, fileNames:Array<String>, onFinish:() ‑> Void):Void

execute():Void

installFiles(files:Array<String>):Void