change sentinel value for resources dir, its different on Linux

This commit is contained in:
Mitchell Hashimoto
2023-08-07 16:16:44 -07:00
parent ebbf42eec6
commit 23935c3563

View File

@ -870,7 +870,7 @@ const Subprocess = struct {
fn resourcesDir(alloc: Allocator) !?[]const u8 { fn resourcesDir(alloc: Allocator) !?[]const u8 {
// This is the sentinel value we look for in the path to know // This is the sentinel value we look for in the path to know
// we've found the resources directory. // we've found the resources directory.
const sentinel = "terminfo/67/ghostty"; const sentinel = "terminfo/ghostty.termcap";
// Get the path to our running binary // Get the path to our running binary
var exe_buf: [std.fs.MAX_PATH_BYTES]u8 = undefined; var exe_buf: [std.fs.MAX_PATH_BYTES]u8 = undefined;