mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-14 12:23:52 +02:00
* Initial .NET8 Upgrade * Initial GitHub Actions Cleanup * Fix Desktop Notifications * Fix throw warning * Upgrade vunerable transative nuget packages * Fix warnings with registry overflow * Adjust async/await usage for configRepository * Fix TTS voice name and app auto start * Install .NET 8 with setup I regret NSIS * Remove no longer needed System/MS references (included in dotnet sdk) * Surpress stackalloc in loop warning, that code scares me. * Removed unused SharpDX packages * Ignore WebClient warning, hopefully this project doesn't move past NET 8 * Fixed terrifying code * GenerateAssemblyInfo * Trimmed editor config to only silence warning. * Fix open webpage * Fix updater --------- Co-authored-by: DubyaDude <ushafiq141@gmail.com> Co-authored-by: Natsumi <cmcooper123@hotmail.com>
22 lines
791 B
C#
22 lines
791 B
C#
using System;
|
|
using CefSharp;
|
|
|
|
namespace VRCX
|
|
{
|
|
public static class Util
|
|
{
|
|
public static void ApplyJavascriptBindings(IJavascriptObjectRepository repository)
|
|
{
|
|
repository.NameConverter = null;
|
|
repository.Register("AppApi", AppApi.Instance);
|
|
repository.Register("SharedVariable", SharedVariable.Instance);
|
|
repository.Register("WebApi", WebApi.Instance);
|
|
repository.Register("VRCXStorage", VRCXStorage.Instance);
|
|
repository.Register("SQLite", SQLiteLegacy.Instance);
|
|
repository.Register("LogWatcher", LogWatcher.Instance);
|
|
repository.Register("Discord", Discord.Instance);
|
|
repository.Register("AssetBundleCacher", AssetBundleCacher.Instance);
|
|
}
|
|
}
|
|
}
|