C# Class Squirrel.UpdateManager.ApplyReleasesImpl

Inheritance: IEnableLogger
Afficher le fichier Open project: fusetools/Squirrel.Windows Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

ApplyReleasesImpl() public méthode

public ApplyReleasesImpl ( string rootAppDirectory ) : System
rootAppDirectory string
Résultat System

CreateShortcutsForExecutable() public méthode

public CreateShortcutsForExecutable ( string exeName, ShortcutLocation locations, bool updateOnly, string programArguments, string icon ) : void
exeName string
locations ShortcutLocation
updateOnly bool
programArguments string
icon string
Résultat void

FullUninstall() public méthode

public FullUninstall ( ) : Task
Résultat Task

GetShortcutsForExecutable() public méthode

public GetShortcutsForExecutable ( string exeName, ShortcutLocation locations, string programArguments ) : ShellLink>.Dictionary
exeName string
locations ShortcutLocation
programArguments string
Résultat ShellLink>.Dictionary

RemoveShortcutsForExecutable() public méthode

public RemoveShortcutsForExecutable ( string exeName, ShortcutLocation locations ) : void
exeName string
locations ShortcutLocation
Résultat void