mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Change method name for cleaning up after portability update
Make intentions clearer
This commit is contained in:
parent
ef1b52122e
commit
930ceef55c
2 changed files with 2 additions and 2 deletions
|
|
@ -136,7 +136,7 @@ namespace Wox.Core.Configuration
|
|||
using (StreamWriter sw = File.CreateText(filePathTodelete + "\\" + DataLocation.DeletionIndicatorFile)){}
|
||||
}
|
||||
|
||||
public void CleanUpFolderAfterPortabilityUpdate()
|
||||
public void PreStartCleanUpAfterPortabilityUpdate()
|
||||
{
|
||||
var portableDataPath = Path.Combine(Directory.GetParent(Assembly.GetExecutingAssembly().Location.NonNull()).ToString(), "UserData");
|
||||
var roamingDataPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Wox");
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ namespace Wox
|
|||
{
|
||||
Stopwatch.Normal("|App.OnStartup|Startup cost", () =>
|
||||
{
|
||||
_portable.CleanUpFolderAfterPortabilityUpdate();
|
||||
_portable.PreStartCleanUpAfterPortabilityUpdate();
|
||||
|
||||
Log.Info("|App.OnStartup|Begin Wox startup ----------------------------------------------------");
|
||||
Log.Info($"|App.OnStartup|Runtime info:{ErrorReporting.RuntimeInfo()}");
|
||||
|
|
|
|||
Loading…
Reference in a new issue