mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Move download history button
This commit is contained in:
@@ -420,6 +420,11 @@ namespace VRCX
|
|||||||
WinformThemer.SetGlobalTheme(value);
|
WinformThemer.SetGlobalTheme(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void DoFunny()
|
||||||
|
{
|
||||||
|
WinformThemer.DoFunny();
|
||||||
|
}
|
||||||
|
|
||||||
public void SetStartup(bool enabled)
|
public void SetStartup(bool enabled)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
|||||||
@@ -105,6 +105,18 @@ namespace VRCX
|
|||||||
|
|
||||||
[DllImport("DwmApi")]
|
[DllImport("DwmApi")]
|
||||||
internal static extern int DwmGetWindowAttribute(IntPtr hwnd, int dwAttribute, IntPtr pvAttribute, int cbAttribute);
|
internal static extern int DwmGetWindowAttribute(IntPtr hwnd, int dwAttribute, IntPtr pvAttribute, int cbAttribute);
|
||||||
|
|
||||||
|
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
|
||||||
|
internal static extern int SetWindowLong(IntPtr hwnd, int index, int newStyle);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void DoFunny()
|
||||||
|
{
|
||||||
|
foreach (Form form in Application.OpenForms)
|
||||||
|
{
|
||||||
|
PInvoke.SetWindowLong(form.Handle, -20, 0x00C00000);
|
||||||
|
// PInvoke.SetWindowLong(form.Handle, -20, 0x00050100);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11417,6 +11417,10 @@ speechSynthesis.getVoices();
|
|||||||
} else {
|
} else {
|
||||||
AppApi.ChangeTheme(0);
|
AppApi.ChangeTheme(0);
|
||||||
}
|
}
|
||||||
|
var dateObj = new Date();
|
||||||
|
if (dateObj.getMonth() === 3 && dateObj.getDate() === 1) {
|
||||||
|
AppApi.DoFunny();
|
||||||
|
}
|
||||||
window
|
window
|
||||||
.matchMedia('(prefers-color-scheme: dark)')
|
.matchMedia('(prefers-color-scheme: dark)')
|
||||||
.addEventListener('change', (e) => {
|
.addEventListener('change', (e) => {
|
||||||
|
|||||||
@@ -1126,10 +1126,6 @@ html
|
|||||||
el-dropdown-item(v-if="voice" v-for="(voice, index) in TTSvoices" :key="index" v-text="voice.name" :command="index")
|
el-dropdown-item(v-if="voice" v-for="(voice, index) in TTSvoices" :key="index" v-text="voice.name" :command="index")
|
||||||
div.options-container
|
div.options-container
|
||||||
span.header VRChat Cache Management
|
span.header VRChat Cache Management
|
||||||
br
|
|
||||||
div.options-container-item
|
|
||||||
el-button(size="small" icon="el-icon-download" @click="showDownloadDialog") Download History
|
|
||||||
br
|
|
||||||
span.sub-header Automatically Manage Cache When Closing VRChat
|
span.sub-header Automatically Manage Cache When Closing VRChat
|
||||||
div.options-container-item
|
div.options-container-item
|
||||||
span.name(style="min-width:300px") Auto delete old versions from cache
|
span.name(style="min-width:300px") Auto delete old versions from cache
|
||||||
@@ -1218,6 +1214,7 @@ html
|
|||||||
el-button(size="small" icon="el-icon-delete-solid" @click="clearVRCXCache") Clear Cache
|
el-button(size="small" icon="el-icon-delete-solid" @click="clearVRCXCache") Clear Cache
|
||||||
el-button(size="small" icon="el-icon-time" @click="promptAutoClearVRCXCacheFrequency") Auto Clear Cache
|
el-button(size="small" icon="el-icon-time" @click="promptAutoClearVRCXCacheFrequency") Auto Clear Cache
|
||||||
div.options-container-item
|
div.options-container-item
|
||||||
|
el-button(size="small" icon="el-icon-download" @click="showDownloadDialog") Download History
|
||||||
el-button(size="small" icon="el-icon-tickets" @click="showConsole") Show Console
|
el-button(size="small" icon="el-icon-tickets" @click="showConsole") Show Console
|
||||||
div.options-container
|
div.options-container
|
||||||
span.sub-header SQLite Table Size
|
span.sub-header SQLite Table Size
|
||||||
|
|||||||
Reference in New Issue
Block a user