Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

chore: use dynamic latest url for installation #194

Closed
wants to merge 4 commits into from
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,10 @@ def parse_args():


def build_release_url(ctx: InstallContext) -> str:
repo_root = "https://github.com/catppuccin/gtk/releases/download"
release = "v1.0.0-rc1"
root = "https://github.com/catppuccin/gtk/releases/latest/download"
zip_name = f"catppuccin-{ctx.flavor}-{ctx.accent}-standard+default.zip"

return f"{repo_root}/{release}/{zip_name}"
return f"{root}/{zip_name}"


def install(ctx: InstallContext):
Expand Down