Skip to content

Commit

Permalink
fix(Zerion): change domain
Browse files Browse the repository at this point in the history
  • Loading branch information
darkvillager2 committed Sep 19, 2024
1 parent 61c3a21 commit 0f1e9d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions websites/Z/Zerion/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"en": "Zerion.cc gives you access to online content so you can watch your favorite series and TV shows wherever you have Internet access.",
"pl": "Zerion.cc zapewnia dostęp do treści online, dzięki czemu możesz oglądać swoje ulubione seriale i programy telewizyjne, gdziekolwiek masz dostęp do Internetu."
},
"url": "zerion.cc",
"version": "1.0.8",
"url": "zeriun.cc",
"version": "1.0.9",
"logo": "https://cdn.rcd.gg/PreMiD/websites/Z/Zerion/assets/logo.png",
"thumbnail": "https://cdn.rcd.gg/PreMiD/websites/Z/Zerion/assets/thumbnail.png",
"color": "#aa1717",
Expand Down
2 changes: 2 additions & 0 deletions websites/Z/Zerion/presence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ presence.on("UpdateData", async () => {
break;
}

if (presenceData.endTimestamp && presenceData.startTimestamp)
presenceData.type = ActivityType.Watching;
if (!logo || privacy) presenceData.largeImageKey = Assets.Logo;
if (!buttons || privacy) delete presenceData.buttons;
if (!time) delete presenceData.startTimestamp;
Expand Down

0 comments on commit 0f1e9d7

Please sign in to comment.