mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 22:03:50 +02:00
Fix auto updater
This commit is contained in:
@@ -7592,7 +7592,6 @@ speechSynthesis.getVoices();
|
||||
props.location[0] === 'traveling' &&
|
||||
props.location[1] !== 'traveling'
|
||||
) {
|
||||
// $app.onPlayerTraveling(ref);
|
||||
// store previous location when user is traveling
|
||||
ref.$previousLocation = props.location[1];
|
||||
ref.$travelingToTime = Date.now();
|
||||
@@ -18792,10 +18791,7 @@ speechSynthesis.getVoices();
|
||||
console.log(json, response);
|
||||
}
|
||||
if (json === Object(json) && json.name && json.published_at) {
|
||||
this.latestAppVersion = `${json.name} (${formatDate(
|
||||
json.published_at,
|
||||
'YYYY-MM-DD HH24:MI:SS'
|
||||
)})`;
|
||||
this.latestAppVersion = json.name;
|
||||
var name = json.name;
|
||||
this.VRCXUpdateDialog.updatePendingIsLatest = false;
|
||||
if (name === this.pendingVRCXUpdate) {
|
||||
@@ -18804,7 +18800,8 @@ speechSynthesis.getVoices();
|
||||
} else if (name > this.appVersion) {
|
||||
for (var asset of json.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;
|
||||
|
||||
Reference in New Issue
Block a user