mirror of
https://github.com/greenshot/greenshot
synced 2025-08-19 21:13:23 -07:00
Fixed compiling for .NET 2.0
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2572 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
1b1a01b8da
commit
f9c486f78d
1 changed files with 1 additions and 1 deletions
|
@ -609,7 +609,7 @@ namespace Greenshot.Helpers {
|
|||
// Added fallback for when the explorer can't be found
|
||||
if (errorMessage != null) {
|
||||
try {
|
||||
string windowsPath = Environment.GetFolderPath(Environment.SpecialFolder.Windows);
|
||||
string windowsPath = Environment.GetEnvironmentVariable("SYSTEMROOT");
|
||||
string explorerPath = Path.Combine(windowsPath, "explorer.exe");
|
||||
if (File.Exists(explorerPath)) {
|
||||
ProcessStartInfo psi = new ProcessStartInfo(explorerPath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue