mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
updated app names in editor
This commit is contained in:
@@ -142,7 +142,7 @@ namespace ProjectsEditor.ViewModels
|
|||||||
IWshRuntimeLibrary.IWshShortcut shortcut = (IWshRuntimeLibrary.IWshShortcut)shell.CreateShortcut(shortcutAddress);
|
IWshRuntimeLibrary.IWshShortcut shortcut = (IWshRuntimeLibrary.IWshShortcut)shell.CreateShortcut(shortcutAddress);
|
||||||
shortcut.Description = $"Project Launcher {project.Id}";
|
shortcut.Description = $"Project Launcher {project.Id}";
|
||||||
string basePath = AppDomain.CurrentDomain.BaseDirectory;
|
string basePath = AppDomain.CurrentDomain.BaseDirectory;
|
||||||
shortcut.TargetPath = Path.Combine(basePath, "ProjectsLauncher.exe");
|
shortcut.TargetPath = Path.Combine(basePath, "PowerToys.ProjectsLauncher.exe");
|
||||||
shortcut.Arguments = '"' + project.Id + '"';
|
shortcut.Arguments = '"' + project.Id + '"';
|
||||||
shortcut.WorkingDirectory = basePath;
|
shortcut.WorkingDirectory = basePath;
|
||||||
|
|
||||||
@@ -269,7 +269,7 @@ namespace ProjectsEditor.ViewModels
|
|||||||
private void RunSnapshotTool(string filename = null)
|
private void RunSnapshotTool(string filename = null)
|
||||||
{
|
{
|
||||||
Process p = new Process();
|
Process p = new Process();
|
||||||
p.StartInfo = new ProcessStartInfo(@".\ProjectsSnapshotTool.exe");
|
p.StartInfo = new ProcessStartInfo(@".\PowerToys.ProjectsSnapshotTool.exe");
|
||||||
p.StartInfo.CreateNoWindow = true;
|
p.StartInfo.CreateNoWindow = true;
|
||||||
if (!string.IsNullOrEmpty(filename))
|
if (!string.IsNullOrEmpty(filename))
|
||||||
{
|
{
|
||||||
@@ -283,7 +283,7 @@ namespace ProjectsEditor.ViewModels
|
|||||||
private void RunLauncher(string projectId)
|
private void RunLauncher(string projectId)
|
||||||
{
|
{
|
||||||
Process p = new Process();
|
Process p = new Process();
|
||||||
p.StartInfo = new ProcessStartInfo(@".\ProjectsLauncher.exe", projectId);
|
p.StartInfo = new ProcessStartInfo(@".\PowerToys.ProjectsLauncher.exe", projectId);
|
||||||
p.StartInfo.CreateNoWindow = true;
|
p.StartInfo.CreateNoWindow = true;
|
||||||
p.Start();
|
p.Start();
|
||||||
p.WaitForExit();
|
p.WaitForExit();
|
||||||
|
|||||||
Reference in New Issue
Block a user