Skip to content

Commit

Permalink
accept command args
Browse files Browse the repository at this point in the history
  • Loading branch information
yibei333 committed Sep 26, 2024
1 parent 83ffb7f commit 485edff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.3
1.0.4
2 changes: 1 addition & 1 deletion src/SingleExe.Tool/SingleExe.Tool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<Version>1.0.3</Version>
<Version>1.0.4</Version>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<PackageReadmeFile>README.md</PackageReadmeFile>

Expand Down
2 changes: 1 addition & 1 deletion src/SingleExe/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async void StartAsync()
if (!File.Exists(exePath)) throw new Exception($"file not found:{exePath}");
var process = new Process
{
StartInfo = new ProcessStartInfo(exePath)
StartInfo = new ProcessStartInfo(exePath,string.Join(" ",Environment.GetCommandLineArgs()))
{
WorkingDirectory = new FileInfo(exePath).DirectoryName,
}
Expand Down

0 comments on commit 485edff

Please sign in to comment.