mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Minor fixes for linux
This commit is contained in:
@@ -45,6 +45,7 @@ Comment={Options.PackTitle ?? Options.PackId} {Options.PackVersion}
|
||||
Icon={Options.PackId}
|
||||
Exec={mainExeName}
|
||||
Path=~
|
||||
Categories=Development;
|
||||
""");
|
||||
|
||||
File.Copy(Options.Icon, Path.Combine(dir.FullName, Options.PackId + Path.GetExtension(Options.Icon)), true);
|
||||
@@ -53,7 +54,7 @@ Path=~
|
||||
CopyFiles(new DirectoryInfo(packDir), bin, progress, true);
|
||||
File.WriteAllText(Path.Combine(bin.FullName, "sq.version"), nuspecText);
|
||||
|
||||
return Task.FromResult(packDir);
|
||||
return Task.FromResult(dir.FullName);
|
||||
}
|
||||
|
||||
protected override Task CreatePortablePackage(Action<int> progress, string packDir, string outputPath)
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Velopack.Vpk.Commands
|
||||
ReleaseDirectoryOption = AddOption<DirectoryInfo>((v) => ReleaseDirectory = v.ToFullNameOrNull(), "-o", "--outputDir")
|
||||
.SetDescription("Output directory for created packages.")
|
||||
.SetArgumentHelpName("DIR")
|
||||
.SetDefault(new DirectoryInfo(".\\Releases"));
|
||||
.SetDefault(new DirectoryInfo("Releases"));
|
||||
|
||||
ChannelOption = AddOption<string>((v) => Channel = v, "-c", "--channel")
|
||||
.SetDescription("The channel to use for this release.")
|
||||
|
||||
Reference in New Issue
Block a user