Skip to content

Commit

Permalink
- Issues #17: 1.5.0.0 and spaces in filename
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-shilo committed Oct 6, 2022
1 parent 8b2c98d commit fb5d4ae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Binary file modified bin/shell-x.exe
Binary file not shown.
10 changes: 4 additions & 6 deletions shell-x/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -390,12 +390,10 @@ public static void Execute(string item, string invokeArguments)
var p = new Process();
p.StartInfo.FileName = item;

// if (arg.StartsWith("\"") && arg.EndsWith("\""))
// p.StartInfo.Arguments = arg;
// else
p.StartInfo.Arguments = $"\"{arg}\"";

// Debug.Assert(false);
if (arg.StartsWith("\"") && arg.EndsWith("\""))
p.StartInfo.Arguments = arg;
else
p.StartInfo.Arguments = $"\"{arg}\"";

if (item.EndsWithAny(".ps1"))
{
Expand Down
4 changes: 2 additions & 2 deletions shell-x/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.5.0.0")]
[assembly: AssemblyFileVersion("1.5.0.0")]
[assembly: AssemblyVersion("1.5.1.0")]
[assembly: AssemblyFileVersion("1.5.1.0")]

0 comments on commit fb5d4ae

Please sign in to comment.