mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
change sentinel value for resources dir, its different on Linux
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user