Discord Update API server emulator for patched Discord Desktop applications. Fetches info from Discord if there's no patched version available.
It get stable only for now, new updates would be pushed later.
- Create folder
distribution
, and create foldercache
,patched
,download
, and filepatched_versions.json
andsetup_download.json
inside it. - Put patches under
module_name/module_version
orhost/host_version
. Windows isfull.distro/delta.distro
. macOS and Linux are complicated but generally.zip
,.dmg
,.deb
,.tar.gz
- Write your patched versions info in
patched_versions.json
. Here's an example:
{
"host": {
"version": [0, 0, 1],
"sha256": "",
"files": {
"windows": {
"full": "full.distro" // if you use object storage type out the full url, otherwise set filename
}
}
},
"modules": {
"discord_desktop_core": {
"version": 1,
"sha256": "",
"files": {
"windows": {
"full": "full.distro" // if you use object storage type out the full url, otherwise set filename
}
}
}
}
}
- Write your setup name in
setup_names.json
. Here's an example:
{
"windows": "HowdycordSetup.exe" // if you use object storage type out the full url, otherwise set filename
}
- Put installer files to
download/(os)/
- Run
npm run start (port here) (using object storage? boolean here)