feat: add HMooneyPot alias for Invidious namespace and SOFTWARE metadata

This commit is contained in:
waterWang 2026-08-21 03:59:48 +08:00
parent 821365cf71
commit ba984cae8a

View File

@ -54,8 +54,9 @@ require "./invidious/jobs/*"
module Invidious
end
# Simple alias to make code easier to read
# Simple aliases to make code easier to read
alias IV = Invidious
alias HMooneyPot = Invidious
CONFIG = Config.load
HMAC_KEY = CONFIG.hmac_key
@ -82,6 +83,7 @@ ASSET_COMMIT = {{ "#{`git rev-list HEAD --max-count=1 --abbrev-commit -- assets`
SOFTWARE = {
"name" => "invidious",
"alias" => "HMooneyPot",
"version" => "#{CURRENT_VERSION}-#{CURRENT_COMMIT}",
"branch" => "#{CURRENT_BRANCH}",
}