mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-10 02:13:49 +02:00
Fix SteamVR being opened?
This commit is contained in:
@@ -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; }
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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'
|
||||
});
|
||||
}
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user