mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-07 20:32:19 +00:00
fix(update): discord* (#2117)
This commit is contained in:
@@ -1,3 +1 @@
|
||||
let html = get("https://discordapp.com/api/download/canary?platform=linux&format=tar.gz");
|
||||
let newver = find("https://dl-canary\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1);
|
||||
rpm.version(newver);
|
||||
rpm.version(get("https://discord.com/api/canary/updates?platform=linux").json().name);
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
let html = get("https://discordapp.com/api/download/canary?platform=linux&format=tar.gz");
|
||||
let newver = find("https://dl-canary\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1);
|
||||
rpm.version(newver);
|
||||
rpm.version(get("https://discord.com/api/canary/updates?platform=linux").json().name);
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
let html = get("https://discordapp.com/api/download?platform=linux&format=tar.gz");
|
||||
let newver = find("https://dl\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1);
|
||||
rpm.version(newver);
|
||||
rpm.version(get("https://discord.com/api/stable/updates?platform=linux").json().name);
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
let html = get("https://discordapp.com/api/download/ptb?platform=linux&format=tar.gz");
|
||||
let newver = find("https://dl-ptb\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1);
|
||||
rpm.version(newver);
|
||||
rpm.version(get("https://discord.com/api/ptb/updates?platform=linux").json().name);
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
let html = get("https://discordapp.com/api/download/ptb?platform=linux&format=tar.gz");
|
||||
let newver = find("https://dl-ptb\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1);
|
||||
rpm.version(newver);
|
||||
rpm.version(get("https://discord.com/api/ptb/updates?platform=linux").json().name);
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
let html = get("https://discordapp.com/api/download?platform=linux&format=tar.gz");
|
||||
let newver = find("https://dl\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1);
|
||||
rpm.version(newver);
|
||||
rpm.version(get("https://discord.com/api/stable/updates?platform=linux").json().name);
|
||||
|
||||
Reference in New Issue
Block a user