Skip to content

Commit

Permalink
启动流程
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeric-X committed May 11, 2024
1 parent 03912db commit a2237c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/SyncClipboard.Core/Clipboard/Profile/ImageProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class ImageProfile : FileProfile
protected override IClipboardSetter<Profile> ClipboardSetter
=> ServiceProvider.GetRequiredService<IClipboardSetter<ImageProfile>>();

private readonly static string ImageTemplateFolder = Path.Combine(LocalTemplateFolder, "temp images");
private static string ImageTemplateFolder => Path.Combine(LocalTemplateFolder, "temp images");

private ImageProfile(string fullPath, string hash) : base(fullPath, hash)
{
Expand Down
2 changes: 1 addition & 1 deletion src/SyncClipboard.Core/Clipboard/Profile/Profile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public abstract class Profile
#endregion

protected const string RemoteProfilePath = Env.RemoteProfilePath;
protected readonly static string LocalTemplateFolder = Env.TemplateFileFolder;
protected static string LocalTemplateFolder => Env.TemplateFileFolder;
protected static IServiceProvider ServiceProvider { get; } = AppCore.Current.Services;
protected static IWebDav WebDav => ServiceProvider.GetRequiredService<IWebDav>();
protected static ILogger Logger => ServiceProvider.GetRequiredService<ILogger>();
Expand Down

0 comments on commit a2237c6

Please sign in to comment.