mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 22:33:50 +02:00
Fix SteamVR being opened?
This commit is contained in:
@@ -9,7 +9,7 @@ using System.Windows.Forms;
|
|||||||
|
|
||||||
namespace VRCX
|
namespace VRCX
|
||||||
{
|
{
|
||||||
public class Program
|
public static class Program
|
||||||
{
|
{
|
||||||
public static string BaseDirectory { get; private set; }
|
public static string BaseDirectory { get; private set; }
|
||||||
public static string AppDataDirectory { get; private set; }
|
public static string AppDataDirectory { get; private set; }
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ namespace VRCX
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
var _err = EVRInitError.None;
|
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);
|
nextInit = DateTime.UtcNow.AddSeconds(5);
|
||||||
if (system == null)
|
if (system == null)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ speechSynthesis.getVoices();
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
var konamiCode = new Konami(() => {
|
Konami(() => {
|
||||||
$app.toggleCustomEndpoint();
|
$app.toggleCustomEndpoint();
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -19069,14 +19069,12 @@ speechSynthesis.getVoices();
|
|||||||
this.enableCustomEndpoint = !this.enableCustomEndpoint;
|
this.enableCustomEndpoint = !this.enableCustomEndpoint;
|
||||||
if (this.enableCustomEndpoint) {
|
if (this.enableCustomEndpoint) {
|
||||||
this.$message({
|
this.$message({
|
||||||
message:
|
message: 'Custom endpoint option enabled',
|
||||||
'Custom endpoint option enabled',
|
|
||||||
type: 'success'
|
type: 'success'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.$message({
|
this.$message({
|
||||||
message:
|
message: 'Custom endpoint option disabled',
|
||||||
'Custom endpoint option disabled',
|
|
||||||
type: 'success'
|
type: 'success'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -729,7 +729,7 @@ html
|
|||||||
el-tooltip(placement="top" content="Refresh" :disabled="hideTooltips")
|
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")
|
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-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)")
|
.detail(@click="openExternalLink(link)")
|
||||||
span.name(v-text="item")
|
span.name(v-text="item")
|
||||||
span.extra(v-text="link")
|
span.extra(v-text="link")
|
||||||
|
|||||||
Reference in New Issue
Block a user