Fix --no-vr, avatar DB warning, force silent installer

This commit is contained in:
Natsumi
2022-07-30 23:39:43 +12:00
parent 163b2a8f27
commit 571a58351a
5 changed files with 64 additions and 25 deletions

View File

@@ -4277,7 +4277,7 @@ speechSynthesis.getVoices();
API.currentUser.$online_for = Date.now();
API.currentUser.$offline_for = '';
} else {
this.isGameNoVR = true;
this.isGameNoVR = false;
configRepository.setBool(
'isGameNoVR',
this.isGameNoVR
@@ -8169,14 +8169,7 @@ speechSynthesis.getVoices();
database.addGamelogJoinLeaveToDatabase(entry);
break;
case 'portal-spawn':
var bias = Date.parse($app.lastLocation.date) + 30 * 1000;
if (
(this.ipcEnabled && this.isGameRunning) ||
!this.lastLocation.location ||
bias < Date.now()
) {
console.log('ignored portal spawn');
// 30sec wait for world portals to load
if (this.ipcEnabled && this.isGameRunning) {
return;
}
var entry = {
@@ -8288,12 +8281,14 @@ speechSynthesis.getVoices();
AppApi.QuitGame().then((processCount) => {
if (processCount > 1) {
console.log(
'More than 1 process running, not killing VRC'
'QuitFix: More than 1 process running, not killing VRC'
);
} else if (processCount === 1) {
console.log('Killed VRC');
console.log('QuitFix: Killed VRC');
} else {
console.log('Nothing to kill, no VRC process running');
console.log(
'QuitFix: Nothing to kill, no VRC process running'
);
}
});
break;
@@ -8301,6 +8296,10 @@ speechSynthesis.getVoices();
this.isGameNoVR = false;
configRepository.setBool('isGameNoVR', this.isGameNoVR);
break;
case 'desktop-mode':
this.isGameNoVR = true;
configRepository.setBool('isGameNoVR', this.isGameNoVR);
break;
}
if (entry) {
this.queueGameLogNoty(entry);
@@ -13632,6 +13631,25 @@ speechSynthesis.getVoices();
};
$app.methods.lookupAvatars = async function (type, search) {
if (
this.avatarRemoteDatabaseProvider ===
'https://requi.dev/vrcx_search.php'
) {
this.$alert(
'ReMod remote avatar search has been shutdown due to EAC more info here: https://requi.dev/vrcx_search.php',
'Remote avatar search'
);
this.avatarRemoteDatabaseProvider = '';
configRepository.setString(
'VRCX_avatarRemoteDatabaseProvider',
this.avatarRemoteDatabaseProvider
);
this.avatarRemoteDatabase = false;
configRepository.setBool(
'VRCX_avatarRemoteDatabase',
this.avatarRemoteDatabase
);
}
if (type === 'search') {
var limit = '&n=5000';
} else {

View File

@@ -2291,7 +2291,7 @@ html
el-button(type="primary" size="small" style="margin-left:auto" @click="notificationPositionDialog.visible = false") OK
//- dialog: Noty feed filters
el-dialog.x-dialog(:before-close="beforeDialogClose" @mousedown.native="dialogMouseDown" @mouseup.native="dialogMouseUp" ref="notyFeedFiltersDialog" :visible.sync="notyFeedFiltersDialog.visible" title="Notification Filters" width="500px")
el-dialog.x-dialog(:before-close="beforeDialogClose" @mousedown.native="dialogMouseDown" @mouseup.native="dialogMouseUp" ref="notyFeedFiltersDialog" :visible.sync="notyFeedFiltersDialog.visible" title="Notification Filters" width="550px")
.toggle-list
.toggle-item
span.toggle-name OnPlayerJoining
@@ -2473,7 +2473,7 @@ html
el-button(type="primary" size="small" style="margin-left:10px" @click="saveSharedFeedFilters") Save
//- dialog: wrist feed filters
el-dialog.x-dialog(:before-close="beforeDialogClose" @mousedown.native="dialogMouseDown" @mouseup.native="dialogMouseUp" ref="wristFeedFiltersDialog" :visible.sync="wristFeedFiltersDialog.visible" title="Wrist Feed Filters" width="500px")
el-dialog.x-dialog(:before-close="beforeDialogClose" @mousedown.native="dialogMouseDown" @mouseup.native="dialogMouseUp" ref="wristFeedFiltersDialog" :visible.sync="wristFeedFiltersDialog.visible" title="Wrist Feed Filters" width="550px")
.toggle-list
.toggle-item
span.toggle-name Self Location

View File

@@ -64,6 +64,9 @@ class GameLogService {
case 'openvr-init':
break;
case 'desktop-mode':
break;
default:
break;
}