mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 11:39:16 +08:00
Refactoring directory path for misc
This commit is contained in:
parent
e9ddfa6cf9
commit
6071319acd
@ -748,7 +748,7 @@ namespace Wox
|
|||||||
Title = string.Format(executeQueryHistoryTitle,history.Query),
|
Title = string.Format(executeQueryHistoryTitle,history.Query),
|
||||||
SubTitle = string.Format(lastExecuteTime,history.ExecutedDateTime),
|
SubTitle = string.Format(lastExecuteTime,history.ExecutedDateTime),
|
||||||
IcoPath = "Images\\history.png",
|
IcoPath = "Images\\history.png",
|
||||||
PluginDirectory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),
|
PluginDirectory = WoxDirectroy.Executable,
|
||||||
Action = _ =>{
|
Action = _ =>{
|
||||||
ChangeQuery(history.Query,true);
|
ChangeQuery(history.Query,true);
|
||||||
return false;
|
return false;
|
||||||
@ -865,7 +865,7 @@ namespace Wox
|
|||||||
{
|
{
|
||||||
return new Result(GetTranslation("cancelTopMostInThisQuery"), "Images\\down.png")
|
return new Result(GetTranslation("cancelTopMostInThisQuery"), "Images\\down.png")
|
||||||
{
|
{
|
||||||
PluginDirectory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),
|
PluginDirectory = WoxDirectroy.Executable,
|
||||||
Action = _ =>
|
Action = _ =>
|
||||||
{
|
{
|
||||||
TopMostRecordStorage.Instance.Remove(result);
|
TopMostRecordStorage.Instance.Remove(result);
|
||||||
@ -878,7 +878,7 @@ namespace Wox
|
|||||||
{
|
{
|
||||||
return new Result(GetTranslation("setAsTopMostInThisQuery"), "Images\\up.png")
|
return new Result(GetTranslation("setAsTopMostInThisQuery"), "Images\\up.png")
|
||||||
{
|
{
|
||||||
PluginDirectory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),
|
PluginDirectory = WoxDirectroy.Executable,
|
||||||
Action = _ =>
|
Action = _ =>
|
||||||
{
|
{
|
||||||
TopMostRecordStorage.Instance.AddOrUpdate(result);
|
TopMostRecordStorage.Instance.AddOrUpdate(result);
|
||||||
|
Loading…
Reference in New Issue
Block a user