Fix content_type not matching

This commit is contained in:
Natsumi
2022-07-13 18:58:44 +12:00
parent dcd9197f82
commit 1d2fa7aeca

View File

@@ -18634,7 +18634,9 @@ speechSynthesis.getVoices();
if (release.name === this.VRCXUpdateDialog.release) {
for (var asset of release.assets) {
if (
asset.content_type === 'application/x-msdownload' &&
(asset.content_type === 'application/x-msdownload' ||
asset.content_type ===
'application/x-msdos-program') &&
asset.state === 'uploaded'
) {
var downloadUrl = asset.browser_download_url;