C# Класс Squirrel.UpdateManager.ApplyReleasesImpl

Наследование: IEnableLogger
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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>

Описание методов

ApplyReleases() публичный Метод

public ApplyReleases ( Squirrel.UpdateInfo updateInfo, bool silentInstall, bool attemptingFullInstall, Action progress = null ) : Task
updateInfo Squirrel.UpdateInfo
silentInstall bool
attemptingFullInstall bool
progress Action
Результат Task

ApplyReleasesImpl() публичный Метод

public ApplyReleasesImpl ( string rootAppDirectory ) : System
rootAppDirectory string
Результат System

CreateShortcutsForExecutable() публичный Метод

public CreateShortcutsForExecutable ( string exeName, ShortcutLocation locations, bool updateOnly, string programArguments, string icon ) : void
exeName string
locations ShortcutLocation
updateOnly bool
programArguments string
icon string
Результат void

FullUninstall() публичный Метод

public FullUninstall ( ) : Task
Результат Task

GetShortcutsForExecutable() публичный Метод

public GetShortcutsForExecutable ( string exeName, ShortcutLocation locations, string programArguments ) : ShellLink>.Dictionary
exeName string
locations ShortcutLocation
programArguments string
Результат ShellLink>.Dictionary

RemoveShortcutsForExecutable() публичный Метод

public RemoveShortcutsForExecutable ( string exeName, ShortcutLocation locations ) : void
exeName string
locations ShortcutLocation
Результат void