mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-04-21 08:58:37 +03:00
Fix passing EnvMap for Flatpak builds
When using -Dflatpak=true the EnvMap was passed as the incorrect type.
This commit is contained in:
@ -1105,7 +1105,7 @@ const Subprocess = struct {
|
|||||||
// Flatpak command must have a stable pointer.
|
// Flatpak command must have a stable pointer.
|
||||||
self.flatpak_command = .{
|
self.flatpak_command = .{
|
||||||
.argv = self.args,
|
.argv = self.args,
|
||||||
.env = &self.env,
|
.env = if (self.env) |*env| env else null,
|
||||||
.stdin = pty.slave,
|
.stdin = pty.slave,
|
||||||
.stdout = pty.slave,
|
.stdout = pty.slave,
|
||||||
.stderr = pty.slave,
|
.stderr = pty.slave,
|
||||||
|
Reference in New Issue
Block a user