mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
add CopyText for Shell plugin
This commit is contained in:
parent
6f7c3eba4d
commit
e078de557b
1 changed files with 8 additions and 4 deletions
|
|
@ -84,7 +84,8 @@ namespace Flow.Launcher.Plugin.Shell
|
|||
|
||||
Execute(Process.Start, PrepareProcessStartInfo(m, runAsAdministrator));
|
||||
return true;
|
||||
}
|
||||
},
|
||||
CopyText = m
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
|
@ -123,7 +124,8 @@ namespace Flow.Launcher.Plugin.Shell
|
|||
|
||||
Execute(Process.Start, PrepareProcessStartInfo(m.Key, runAsAdministrator));
|
||||
return true;
|
||||
}
|
||||
},
|
||||
CopyText = m.Key
|
||||
};
|
||||
return ret;
|
||||
}).Where(o => o != null);
|
||||
|
|
@ -152,7 +154,8 @@ namespace Flow.Launcher.Plugin.Shell
|
|||
|
||||
Execute(Process.Start, PrepareProcessStartInfo(cmd, runAsAdministrator));
|
||||
return true;
|
||||
}
|
||||
},
|
||||
CopyText = cmd
|
||||
};
|
||||
|
||||
return result;
|
||||
|
|
@ -176,7 +179,8 @@ namespace Flow.Launcher.Plugin.Shell
|
|||
|
||||
Execute(Process.Start, PrepareProcessStartInfo(m.Key, runAsAdministrator));
|
||||
return true;
|
||||
}
|
||||
},
|
||||
CopyText = m.Key
|
||||
});
|
||||
|
||||
if (_settings.ShowOnlyMostUsedCMDs)
|
||||
|
|
|
|||
Loading…
Reference in a new issue