Updating
Namespace: MordhauBuddy.Core
Parent Module: FileOps
Fetch and patch new updates
Nested types and modules
Functions and values
Function or value | Description |
applyPatch(path)
Signature: path:string -> Result<string option,string>
|
Apply the new patch
|
cleanBaseUpdatePath()
Signature: unit -> unit
|
Try to clean update path and dispose of errors
|
getAsset(newUp)
Signature: newUp:NewUpdate -> Result<(type),string>
|
Downloads asset file to storage directory
|
getOriginal()
Signature: unit -> (type)
|
Get the file that will be patched
|
isReady(tagName)
Signature: tagName:string -> string option
|
See if file is already downloaded and patched
|
logger
Signature: Logger
|
|
startNewVersion(file)
Signature: file:string -> Async<unit>
|
Start the new application
|
tryGeneratePatch(deltaFi)
Signature: deltaFi:(type) -> Result<string,string>
|
Try to generate a new patch file
|
tryGetAssets(releases)
Signature: releases:Release list -> Result<UpdatesBehind,string>
|
Try to fetch a list of assets if there is a new release
|