mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 06:46:04 +02:00
Remove wine support for Cef
This commit is contained in:
@@ -119,10 +119,7 @@ export const useUpdateLoopStore = defineStore('UpdateLoop', () => {
|
||||
state.nextAutoStateChange = 3;
|
||||
userStore.updateAutoStateChange();
|
||||
}
|
||||
if (
|
||||
(vrcxStore.isRunningUnderWine || LINUX) &&
|
||||
--state.nextGetLogCheck <= 0
|
||||
) {
|
||||
if (LINUX && --state.nextGetLogCheck <= 0) {
|
||||
state.nextGetLogCheck = 0.5;
|
||||
const logLines = await LogWatcher.GetLogLines();
|
||||
if (logLines) {
|
||||
@@ -131,10 +128,7 @@ export const useUpdateLoopStore = defineStore('UpdateLoop', () => {
|
||||
});
|
||||
}
|
||||
}
|
||||
if (
|
||||
(vrcxStore.isRunningUnderWine || LINUX) &&
|
||||
--state.nextGameRunningCheck <= 0
|
||||
) {
|
||||
if (LINUX && --state.nextGameRunningCheck <= 0) {
|
||||
if (WINDOWS) {
|
||||
state.nextGameRunningCheck = 3;
|
||||
AppApi.CheckGameRunning();
|
||||
|
||||
@@ -203,19 +203,6 @@ export const useVrcxStore = defineStore('Vrcx', () => {
|
||||
}
|
||||
});
|
||||
|
||||
async function applyWineEmojis() {
|
||||
if (document.contains(document.getElementById('app-emoji-font'))) {
|
||||
document.getElementById('app-emoji-font').remove();
|
||||
}
|
||||
if (state.isRunningUnderWine) {
|
||||
const $appEmojiFont = document.createElement('link');
|
||||
$appEmojiFont.setAttribute('id', 'app-emoji-font');
|
||||
$appEmojiFont.rel = 'stylesheet';
|
||||
$appEmojiFont.href = 'emoji.font.css';
|
||||
document.head.appendChild($appEmojiFont);
|
||||
}
|
||||
}
|
||||
|
||||
function showConsole() {
|
||||
AppApi.ShowDevTools();
|
||||
if (
|
||||
@@ -771,7 +758,6 @@ export const useVrcxStore = defineStore('Vrcx', () => {
|
||||
clearVRCXCacheFrequency,
|
||||
maxTableSize,
|
||||
showConsole,
|
||||
applyWineEmojis,
|
||||
clearVRCXCache,
|
||||
startupLaunchCommand,
|
||||
eventVrcxMessage,
|
||||
|
||||
Reference in New Issue
Block a user