Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Added Environment Variable support to Blueprint Manager. (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwilliams1987 authored and malware-dev committed Oct 12, 2018
1 parent 3952958 commit f81aa67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/MDK/Commands/BlueprintManagerCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ protected override void OnExecute()
}
var model = new BlueprintManagerDialogModel
{
BlueprintPath = projectInfo.OutputPath
BlueprintPath = Environment.ExpandEnvironmentVariables(projectInfo.OutputPath)
};
BlueprintManagerDialog.ShowDialog(model);
}
Expand Down
2 changes: 1 addition & 1 deletion Source/MDK/MDKPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ public async Task<bool> DeployAsync(Project project = null, bool nonBlocking = f
}
}

string FormattedPath(string scriptOutputPath) => Path.GetFullPath(scriptOutputPath).TrimEnd('\\').ToUpper();
string FormattedPath(string scriptOutputPath) => Path.GetFullPath(Environment.ExpandEnvironmentVariables(scriptOutputPath)).TrimEnd('\\').ToUpper();

/// <summary>
/// Displays an error dialog
Expand Down

0 comments on commit f81aa67

Please sign in to comment.