mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
fix: linux pack not working without custom AppDir
This commit is contained in:
@@ -83,8 +83,11 @@ namespace Velopack.Vpk.Commands
|
||||
.SetDescription("Set the delta generation mode.");
|
||||
|
||||
var appDir = AddOption<DirectoryInfo>((v) => {
|
||||
PackDirectory = v.ToFullNameOrNull();
|
||||
PackIsAppDir = true;
|
||||
var t = v.ToFullNameOrNull();
|
||||
if (t != null) {
|
||||
PackDirectory = t;
|
||||
PackIsAppDir = true;
|
||||
}
|
||||
}, "--appDir")
|
||||
.SetDescription("Directory containing application in .AppDir format")
|
||||
.SetArgumentHelpName("DIR")
|
||||
|
||||
Reference in New Issue
Block a user