mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
FEATURE-945: Added environment variables to the external command (also removed unused imports and made some variables readonly)
This commit is contained in:
parent
4f326c9c0e
commit
d25021631e
90 changed files with 390 additions and 373 deletions
|
@ -61,12 +61,12 @@ namespace ExternalCommand {
|
|||
public Dictionary<string, bool> runInbackground;
|
||||
|
||||
private const string MSPAINT = "MS Paint";
|
||||
private static string paintPath;
|
||||
private static bool hasPaint = false;
|
||||
private static readonly string paintPath;
|
||||
private static readonly bool hasPaint = false;
|
||||
|
||||
private const string PAINTDOTNET = "Paint.NET";
|
||||
private static string paintDotNetPath;
|
||||
private static bool hasPaintDotNet = false;
|
||||
private static readonly string paintDotNetPath;
|
||||
private static readonly bool hasPaintDotNet = false;
|
||||
static ExternalCommandConfiguration() {
|
||||
try {
|
||||
paintPath = PluginUtils.GetExePath("pbrush.exe");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue