diff --git a/Program.cs b/Program.cs index 4bfeb346..9dc94e35 100644 --- a/Program.cs +++ b/Program.cs @@ -9,7 +9,7 @@ using System.Windows.Forms; namespace VRCX { - public class Program + public static class Program { public static string BaseDirectory { get; private set; } public static string AppDataDirectory { get; private set; } diff --git a/VRCXVR.cs b/VRCXVR.cs index 2340a5f9..a2c9ad21 100644 --- a/VRCXVR.cs +++ b/VRCXVR.cs @@ -162,7 +162,7 @@ namespace VRCX continue; } var _err = EVRInitError.None; - system = OpenVR.Init(ref _err, EVRApplicationType.VRApplication_Overlay); + system = OpenVR.Init(ref _err, EVRApplicationType.VRApplication_Background); nextInit = DateTime.UtcNow.AddSeconds(5); if (system == null) { diff --git a/html/src/app.js b/html/src/app.js index 19a828f6..f0a8920a 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -79,7 +79,7 @@ speechSynthesis.getVoices(); } }); - var konamiCode = new Konami(() => { + Konami(() => { $app.toggleCustomEndpoint(); }); @@ -19069,14 +19069,12 @@ speechSynthesis.getVoices(); this.enableCustomEndpoint = !this.enableCustomEndpoint; if (this.enableCustomEndpoint) { this.$message({ - message: - 'Custom endpoint option enabled', + message: 'Custom endpoint option enabled', type: 'success' }); } else { this.$message({ - message: - 'Custom endpoint option disabled', + message: 'Custom endpoint option disabled', type: 'success' }); } diff --git a/html/src/index.pug b/html/src/index.pug index 365086a8..14acffff 100644 --- a/html/src/index.pug +++ b/html/src/index.pug @@ -729,7 +729,7 @@ html el-tooltip(placement="top" content="Refresh" :disabled="hideTooltips") el-button(type="default" @click="API.getConfig()" size="mini" icon="el-icon-refresh" circle style="margin-left:5px") .x-friend-list(style="margin-top:10px") - .x-friend-item(v-for="(link, item) in API.cachedConfig.downloadUrls" :key="item" placement="top") + .x-friend-item(v-for="(link, item) in API.cachedConfig.downloadUrls" :key="item" v-if="item !== 'sdk2'" placement="top") .detail(@click="openExternalLink(link)") span.name(v-text="item") span.extra(v-text="link")