mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Making the initial stuff working, getting an installer, when running from VS.
This commit is contained in:
parent
a63bf734d4
commit
57e2044839
1023 changed files with 20896 additions and 19456 deletions
|
@ -33,14 +33,12 @@ namespace GreenshotPlugin.Core
|
|||
}
|
||||
// Check if path is a file
|
||||
if (File.Exists(path))
|
||||
{
|
||||
// Start the explorer process and select the file
|
||||
using (var explorer = Process.Start("explorer.exe", $"/select,\"{path}\""))
|
||||
{
|
||||
explorer?.WaitForInputIdle(500);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
{
|
||||
// Start the explorer process and select the file
|
||||
using var explorer = Process.Start("explorer.exe", $"/select,\"{path}\"");
|
||||
explorer?.WaitForInputIdle(500);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue