Skip to content

Commit

Permalink
linux: fix installation path of nautilus-python extension
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollie committed Jan 31, 2025
1 parent c5508e7 commit 660d9dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/build/GhosttyResources.zig
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,11 @@ pub fn init(b: *std.Build, cfg: *const Config) !GhosttyResources {
"share/kio/servicemenus/com.mitchellh.ghostty.desktop",
).step);

// Right click menu action for Nautilus
// Right click menu action for Nautilus. Note that this _must_ be named
// `ghostty.py`. Using the full app id causes problems (see #5468).
try steps.append(&b.addInstallFile(
b.path("dist/linux/ghostty_nautilus.py"),
"share/nautilus-python/extensions/com.mitchellh.ghostty.py",
"share/nautilus-python/extensions/ghostty.py",
).step);

// Various icons that our application can use, including the icon
Expand Down

0 comments on commit 660d9dc

Please sign in to comment.