fix(update): undo discord (idw?) (#476)

This commit is contained in:
madomado
2023-05-27 20:42:35 +08:00
committed by GitHub
parent 7ba972b6c2
commit 02a58d309b
12 changed files with 24 additions and 24 deletions
@@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: discord-canary-openasar
Version: 0.0.316
Version: 0.0.154
Release: 1%{?dist}
Summary: OpenAsar is a rewrite of part of Discord's desktop code, making it snappier and include more features like further customization and theming
License: MIT AND https://discord.com/terms
@@ -1,3 +1,3 @@
let txt = get("https://discordapp.com/api/updates/canary/RELEASES");
let v = find("DiscordCanary-([\\d\\.]+)-", txt, 1);
rpm.version(v);
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);
+1 -1
View File
@@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: discord-canary
Version: 0.0.316
Version: 0.0.154
Release: 1%{?dist}
Summary: Free Voice and Text Chat for Gamers.
URL: discord.com
+3 -3
View File
@@ -1,3 +1,3 @@
let txt = get("https://discordapp.com/api/updates/canary/RELEASES");
let v = find("DiscordCanary-([\\d\\.]+)-", txt, 1);
rpm.version(v);
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);
@@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: discord-openasar
Version: 0.0.311
Version: 0.0.27
Release: 1%{?dist}
Summary: OpenAsar is a rewrite of part of Discord's desktop code, making it snappier and include more features like further customization and theming
License: MIT AND https://discord.com/terms
+3 -3
View File
@@ -1,3 +1,3 @@
let txt = get("https://discordapp.com/api/updates/RELEASES");
let v = find("Discord-([\\d\\.]+)-", txt, 1);
rpm.version(v);
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);
@@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: discord-ptb-openasar
Version: 0.0.64
Version: 0.0.42
Release: 1%{?dist}
Summary: OpenAsar is a rewrite of part of Discord's desktop code, making it snappier and include more features like further customization and theming
License: MIT AND https://discord.com/terms
+3 -3
View File
@@ -1,3 +1,3 @@
let txt = get("https://discordapp.com/api/updates/ptb/RELEASES");
let v = find("DiscordPTB-([\\d\\.]+)-", txt, 1);
rpm.version(v);
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);
+1 -1
View File
@@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: discord-ptb
Version: 0.0.64
Version: 0.0.42
Release: 1%{?dist}
Summary: Free Voice and Text Chat for Gamers.
URL: discord.com
+3 -3
View File
@@ -1,3 +1,3 @@
let txt = get("https://discordapp.com/api/updates/ptb/RELEASES");
let v = find("DiscordPTB-([\\d\\.]+)-", txt, 1);
rpm.version(v);
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);
+1 -1
View File
@@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: discord
Version: 0.0.311
Version: 0.0.27
Release: 1%{?dist}
Summary: Free Voice and Text Chat for Gamers.
URL: discord.com
+3 -3
View File
@@ -1,3 +1,3 @@
let txt = get("https://discordapp.com/api/updates/RELEASES");
let v = find("Discord-([\\d\\.]+)-", txt, 1);
rpm.version(v);
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);