mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
commit before large dir rename
This commit is contained in:
@@ -8,8 +8,10 @@ using Squirrel.SimpleSplat;
|
||||
|
||||
namespace Squirrel
|
||||
{
|
||||
/// <summary> Describes how the application will be installed / updated on the given system. </summary>
|
||||
public class UpdateConfig
|
||||
{
|
||||
/// <summary> The unique application Id. This is used in various app paths. </summary>
|
||||
public virtual string AppId { get; }
|
||||
|
||||
public virtual string RootAppDir { get; }
|
||||
|
||||
@@ -16,21 +16,17 @@ namespace Squirrel
|
||||
/// <inheritdoc cref="IUpdateManager"/>
|
||||
public partial class UpdateManager : IUpdateManager
|
||||
{
|
||||
///// <summary>The unique Id of the application.</summary>
|
||||
//public virtual string AppId => _config.AppId;
|
||||
|
||||
///// <inheritdoc/>
|
||||
//public virtual string AppDirectory => _config.RootAppDir;
|
||||
|
||||
/// <inheritdoc/>
|
||||
public bool IsInstalledApp => CurrentlyInstalledVersion() != null;
|
||||
|
||||
/// <summary>The <see cref="UpdateConfig"/> describes the structure of the application on disk (eg. file/folder locations).</summary>
|
||||
public UpdateConfig Config => _config;
|
||||
|
||||
/// <summary>The <see cref="IUpdateSource"/> responsible for retrieving updates from a package repository.</summary>
|
||||
protected readonly IUpdateSource _source;
|
||||
protected readonly UpdateConfig _config;
|
||||
public IUpdateSource Source => _source;
|
||||
|
||||
private readonly IUpdateSource _source;
|
||||
private readonly UpdateConfig _config;
|
||||
private readonly object _lockobj = new object();
|
||||
private IDisposable _updateLock;
|
||||
private bool _disposed;
|
||||
|
||||
Reference in New Issue
Block a user