C# Class Squirrel.UpdateManager.ApplyReleasesImpl

Inheritance: IEnableLogger
Mostrar archivo Open project: fusetools/Squirrel.Windows Class Usage Examples

Public Methods

Method Description
ApplyReleases ( Squirrel.UpdateInfo updateInfo, bool silentInstall, bool attemptingFullInstall, Action progress = null ) : Task
ApplyReleasesImpl ( string rootAppDirectory ) : System
CreateShortcutsForExecutable ( string exeName, ShortcutLocation locations, bool updateOnly, string programArguments, string icon ) : void
FullUninstall ( ) : Task
GetShortcutsForExecutable ( string exeName, ShortcutLocation locations, string programArguments ) : ShellLink>.Dictionary
RemoveShortcutsForExecutable ( string exeName, ShortcutLocation locations ) : void

Private Methods

Method Description
GetTotalUncompressedSize ( Squirrel.UpdateInfo updateInfo, Squirrel.ReleaseEntry release ) : long
cleanDeadVersions ( SemanticVersion originalVersion, SemanticVersion currentVersion, bool forceUninstall = false ) : Task
createFullPackagesFromDeltas ( IEnumerable releasesToApply, Squirrel.ReleaseEntry currentVersion ) : Task
executeSelfUpdate ( SemanticVersion currentVersion ) : void
fixPinnedExecutables ( SemanticVersion newCurrentVersion, bool removeAll = false ) : void
getDirectoryForRelease ( SemanticVersion releaseVersion ) : DirectoryInfo
getLinkTarget ( ShortcutLocation location, string title, string applicationName, bool createDirectoryIfNecessary = true ) : string
getReleases ( ) : IEnumerable
installPackageToAppDir ( Squirrel.UpdateInfo updateInfo, Squirrel.ReleaseEntry release, Action progress ) : Task
invokePostInstall ( SemanticVersion currentVersion, bool isInitialInstall, bool firstRunOnly, bool silentInstall ) : Task
isAppFolderDead ( string appFolderPath ) : bool
linkTargetForVersionInfo ( ShortcutLocation location, IPackage package, FileVersionInfo versionInfo ) : string
markAppFolderAsDead ( string appFolderPath ) : void
unshimOurselves ( ) : void
updateLink ( ShellLink shortcut, string newAppPath ) : void
updateLocalReleasesFile ( ) : Task>

Method Details

ApplyReleases() public method

public ApplyReleases ( Squirrel.UpdateInfo updateInfo, bool silentInstall, bool attemptingFullInstall, Action progress = null ) : Task
updateInfo Squirrel.UpdateInfo
silentInstall bool
attemptingFullInstall bool
progress Action
return Task

ApplyReleasesImpl() public method

public ApplyReleasesImpl ( string rootAppDirectory ) : System
rootAppDirectory string
return System

CreateShortcutsForExecutable() public method

public CreateShortcutsForExecutable ( string exeName, ShortcutLocation locations, bool updateOnly, string programArguments, string icon ) : void
exeName string
locations ShortcutLocation
updateOnly bool
programArguments string
icon string
return void

FullUninstall() public method

public FullUninstall ( ) : Task
return Task

GetShortcutsForExecutable() public method

public GetShortcutsForExecutable ( string exeName, ShortcutLocation locations, string programArguments ) : ShellLink>.Dictionary
exeName string
locations ShortcutLocation
programArguments string
return ShellLink>.Dictionary

RemoveShortcutsForExecutable() public method

public RemoveShortcutsForExecutable ( string exeName, ShortcutLocation locations ) : void
exeName string
locations ShortcutLocation
return void