From ac07cf5270fd77cbcfe92dbc44454b2d0d139d32 Mon Sep 17 00:00:00 2001 From: azhn Date: Sat, 13 Sep 2025 06:52:44 +1000 Subject: [PATCH] Use ghostty-specific themes release --- build.zig.zon | 4 ++-- src/build/GhosttyResources.zig | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.zig.zon b/build.zig.zon index 78097a180..21855790a 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -112,8 +112,8 @@ // Other .apple_sdk = .{ .path = "./pkg/apple-sdk" }, .iterm2_themes = .{ - .url = "https://github.com/mbadolato/iTerm2-Color-Schemes/archive/b314fc540434cc037c2811fc048d32854b5b78c3.tar.gz", - .hash = "N-V-__8AAGupuwFrRxb2dkqFqmEChLEa4J3e95GReqvomV1b", + .url = "https://github.com/mbadolato/iTerm2-Color-Schemes/releases/download/release-20250912-175234-6e04af3/ghostty-themes.tgz", + .hash = "N-V-__8AALEfAwCyd2u6A3yOkdQx0rzl5druY97Lyl0bbTsv", .lazy = true, }, }, diff --git a/src/build/GhosttyResources.zig b/src/build/GhosttyResources.zig index 10de2584b..266069f83 100644 --- a/src/build/GhosttyResources.zig +++ b/src/build/GhosttyResources.zig @@ -120,7 +120,7 @@ pub fn init(b: *std.Build, cfg: *const Config) !GhosttyResources { // Themes if (b.lazyDependency("iterm2_themes", .{})) |upstream| { const install_step = b.addInstallDirectory(.{ - .source_dir = upstream.path("ghostty"), + .source_dir = upstream.path(""), .install_dir = .{ .custom = "share" }, .install_subdir = b.pathJoin(&.{ "ghostty", "themes" }), .exclude_extensions = &.{".md"},