mirror of
https://github.com/ziex-dev/ziex.git
synced 2026-07-20 02:29:36 -06:00
fix(cli): export writing data directory
This commit is contained in:
parent
145618d9ba
commit
ca15077bb7
@ -78,6 +78,9 @@ fn @"export"(ctx: zli.CommandContext) !void {
|
||||
|
||||
const environ_map = app.environ_map;
|
||||
try environ_map.put("ZIEX_INNER_PORT", port_str);
|
||||
if (environ_map.get("ZIEX_ROOT_DIR") == null and appoutdir.len > 0) {
|
||||
try environ_map.put("ZIEX_ROOT_DIR", appoutdir);
|
||||
}
|
||||
|
||||
var app_child = try std.process.spawn(io, .{
|
||||
.argv = &.{ app_meta.binpath.?, "--cli-command", "export" },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user