diff --git a/CefService.cs b/CefService.cs index 7aca0d1e..300cfbb7 100644 --- a/CefService.cs +++ b/CefService.cs @@ -50,6 +50,8 @@ namespace VRCX // Enable High-DPI support on Windows 7 or newer Cef.EnableHighDPISupport(); + cefSettings.UserAgent = "VRCX Cef Browser"; + if (Cef.Initialize(cefSettings) == false) { throw new Exception("Cef.Initialize()"); diff --git a/Installer/installer.nsi b/Installer/installer.nsi index 8e8b0586..94487795 100644 --- a/Installer/installer.nsi +++ b/Installer/installer.nsi @@ -129,7 +129,7 @@ Section "Install" SecInstall afterupgrade: - ReadRegStr $R0 HKCR "Installer\Dependencies\VC,redist.x64,amd64,14.31,bundle" "Version" + ReadRegStr $R0 HKCR "Installer\Dependencies\VC,redist.x64,amd64,14.32,bundle" "Version" IfErrors 0 VSRedistInstalled inetc::get "https://aka.ms/vs/17/release/vc_redist.x64.exe" $TEMP\vcredist_x64.exe diff --git a/html/src/index.pug b/html/src/index.pug index c892b16d..708a1caf 100644 --- a/html/src/index.pug +++ b/html/src/index.pug @@ -36,9 +36,9 @@ html el-form-item(label="Password" prop="password" required style="margin-top:10px") el-input(type="password" v-model="loginForm.password" name="password" placeholder="Password" clearable show-password) el-form-item(v-if="enableCustomEndpoint" label="Endpont" prop="endpoint" style="margin-top:10px") - el-input(v-model="loginForm.endpoint" name="endpoint" placeholder="Endpoint URL" clearable) + el-input(v-model="loginForm.endpoint" name="endpoint" :placeholder="API.endpointDomainVrchat" clearable) el-form-item(v-if="enableCustomEndpoint" label="WebSocket" prop="endpoint" style="margin-top:10px") - el-input(v-model="loginForm.websocket" name="websocket" placeholder="WebSocket URL" clearable) + el-input(v-model="loginForm.websocket" name="websocket" :placeholder="API.websocketDomainVrchat" clearable) el-checkbox(v-model="loginForm.saveCredentials" style="margin-top:15px") Save Credentials el-form-item(style="margin-top:15px") el-button(native-type="submit" type="primary" :loading="loginForm.loading" style="width:100%") Login @@ -1469,7 +1469,7 @@ html el-dropdown-item(icon="el-icon-delete" command="Unfriend" divided) Unfriend el-tabs(ref="userDialogTabs" @tab-click="userDialogTabClick") el-tab-pane(label="Info") - template(v-if="!userDialog.isFriend || (userDialog.friend.state === 'online' || (userDialog.state !== 'online' && userDialog.ref.location !== 'private'))") + template(v-if="!userDialog.isFriend || (userDialog.friend.state === 'online' || (userDialog.friend.state !== 'online' && userDialog.ref.location !== 'private'))") div(v-if="userDialog.ref.location" style="display:flex;flex-direction:column;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #eee") div(style="flex:none") location(:location="userDialog.ref.location")