mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
updated permissions and build process
Removed check for plasma in build.zig, it installs it anyways now Added executable permissions for ghostty_dolphin.desktop since Plasma requires them for context menu items
This commit is contained in:
@ -573,12 +573,8 @@ pub fn build(b: *std.Build) !void {
|
||||
b.installFile("dist/linux/app.desktop", "share/applications/com.mitchellh.ghostty.desktop");
|
||||
}
|
||||
|
||||
// Right click menu action in case of Plasma desktop
|
||||
if (env.get("DESKTOP_SESSION")) |desktop| {
|
||||
if (std.mem.eql(u8, desktop, "plasma")) {
|
||||
b.installFile("dist/linux/ghostty_dolphin.desktop", "share/kio/servicemenus/com.mitchellh.ghostty.desktop");
|
||||
}
|
||||
}
|
||||
// Right click menu action for Plasma desktop
|
||||
b.installFile("dist/linux/ghostty_dolphin.desktop", "share/kio/servicemenus/com.mitchellh.ghostty.desktop");
|
||||
|
||||
// Various icons that our application can use, including the icon
|
||||
// that will be used for the desktop.
|
||||
|
0
dist/linux/ghostty_dolphin.desktop
vendored
Normal file → Executable file
0
dist/linux/ghostty_dolphin.desktop
vendored
Normal file → Executable file
Reference in New Issue
Block a user