mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add method used to indicate deletion of data location
.dead file add
This commit is contained in:
parent
c2d7e658b0
commit
fd4f0f631b
1 changed files with 6 additions and 0 deletions
|
|
@ -129,6 +129,12 @@ namespace Wox.Core.Configuration
|
|||
key.SetValue("DisplayIcon", Constant.ApplicationDirectory + "\\app.ico", RegistryValueKind.String);
|
||||
|
||||
portabilityUpdater.CreateUninstallerRegistryEntry().Wait();
|
||||
|
||||
public void IndicateDeletion(string filePathTodelete)
|
||||
{
|
||||
using (StreamWriter sw = File.CreateText(filePathTodelete + "\\.dead")){}
|
||||
}
|
||||
|
||||
public void CleanUpFolderAfterPortabilityUpdate()
|
||||
{
|
||||
var portableDataPath = Path.Combine(Directory.GetParent(Assembly.GetExecutingAssembly().Location.NonNull()).ToString(), "UserData");
|
||||
|
|
|
|||
Loading…
Reference in a new issue