Commit Graph

37 Commits

Author SHA1 Message Date
Teacup 24f1a57c5d Add applauncher settings, refactor some pug code (#544)
* fix(.NET): Stop CheckGameRunning from force checking processes

I'm not really sure what I was thinking when I did that the way I did; They are not supposed to force check if they're closed after the first time...That's what the monitor is for.

* feat(.NET): Add optional child process culling, clean up applauncher

Add an AppApi method to set applauncher settings Enabled/KillChildrenOnExit

Refactor repeated applauncher event code, move into methods

* refactor: Move the pug code for every tab into its own file

* refactor: Add PoC mixins to settings.pug ^& add comments for navigation

Some proof of concept replacements of the categories, switches and a radio group in the General settings seection.
Also added comments for each header-separated section for marginally better navigation of the file.

* refactor: Move the login page to its own file

* fix(.NET): Correct wrong variable being set in SetAppLauncherSettings

* fix(.NET): Remove redundant/exception causing process refresh in monitor

* refactor(.NET): Allow launcher to be disabled; Disabled by default.

* refactor: Change screenshot helper default to true

* feat: Expose new app launcher settings, add new settings category

Translation keys added/removed:
+ view.settings.advanced.advanced.app_launcher.header
+ view.settings.advanced.advanced.app_launcher.folder_tooltip
+ view.settings.advanced.advanced.app_launcher.enable
+ view.settings.advanced.advanced.app_launcher.auto_close
- view.settings.advanced.advanced.auto_launch
- view.settings.advanced.advanced.auto_launch_tooltip

* Add GPU Fix and Udon Exception Logging options, unload favorites tab when not in use

* Fix GPUFix typo

* Fix GPUFix typo 1

* Add logging for AVPro streams without usharp videoplayer

* Lint

---------

Co-authored-by: Natsumi <cmcooper123@hotmail.com>
2023-05-13 22:26:29 +12:00
Natsumi f69faa7ffe Load GPUFix and LaunchDebug from config (#542)
* Load GPUFix and LaunchDebug from config

* Fix GPUFix and LaunchDebug being set to false if not in config

---------

Co-authored-by: Nekromateion <43814053+Nekromateion@users.noreply.github.com>
2023-05-10 17:00:01 +12:00
Natsumi bb31ce5736 feat: Add an automatic app launcher (#541)
* refactor: Change OpenImageFolder to use a winapi call

It will open the given file in any existing explorer instances instead of opening a new shell every time, handle longer paths, and work with third-party filesystem viewers with winapi hooks(well, this one).

* feat: Add an automatic app launcher

The launcer will automatically launch apps in the 'startup' folder under the VRCX appdata folder when VRChat has started, and close them when VRChat dies(or is closed).

* refactor: Add new class for monitoring VRC processes

This replaces the old AppApi functionality that would poll all processes twice to grab the status of both VRChat and vrserver.exe every... *checks app.js* 500ms.

It also raises events for when a monitored process is started/closed, mainly for the new AppLauncher feature, which is now using this class instead of monitoring vrchat itself.

* refactor: Add tooltip for launch folder button

* docs: Add some notes on potential issues with Process.HasExited

* Change CheckGameRunning from polling to events

---------

Co-authored-by: Teacup <git@teadev.xyz>
2023-05-10 16:57:25 +12:00
Myrkur 22ef66747d (Minor) Added argument to set VROverlay GPU to index 1, Fixes issues when rendering SteamVR on a GPU that is not considered the main GPU, such as with an IGPU 2022-11-11 14:37:52 -05:00
Natsumi 053e85047e Version file 2022-10-04 01:54:38 +13:00
Natsumi 116f76a2a5 --debug, tray launch DevTools, fix right click paste 2022-09-12 20:52:51 +12:00
Natsumi 846ac31ef6 Stop auto updater from asking to run new instance 2022-05-24 23:26:08 +12:00
Natsumi cc31ee38c3 Update copyright 2022-05-12 05:54:59 +12:00
Natsumi bb66928b2b Fix SteamVR being opened? 2022-05-09 01:00:40 +12:00
Natsumi 97761f81c1 --config="C:\DB.sqlite" 2022-03-31 01:55:58 +13:00
Natsumi e007d9d23e URI Scheme 2021-09-29 12:41:16 +13:00
Natsumi a66ff77fce Move config to AppData 2021-08-03 23:51:13 +12:00
Natsumi 4937febe8e VRCX self updater 2021-07-28 23:11:29 +12:00
pypy 291169fce0 Revert "migrate to wpf"
This reverts commit 97a4dbf4d3.

# Conflicts:
#	MainWindow.xaml.cs
#	html/src/index.pug
2021-03-08 21:02:45 +09:00
pypy 97a4dbf4d3 migrate to wpf 2021-02-05 03:18:05 +09:00
pypy 2b0e0563c9 save cookies before exit 2021-01-30 03:48:36 +09:00
pypy 0291211e4f store cookies to sqlite 2020-11-18 21:40:10 +09:00
pypy 2114ab1287 cleanup code 2020-11-08 18:54:03 +09:00
pypy 0e5054d159 singleton 2020-11-08 15:21:32 +09:00
pypy b826d32d09 add CefService 2020-11-08 14:51:42 +09:00
pypy c05e884cb5 use cached path 2020-11-08 14:47:53 +09:00
pypy f4d054ea49 use internal http request 2020-11-07 20:24:59 +09:00
pypy e6e797f7d6 cleanup code 2020-11-07 18:46:42 +09:00
pypy 547c978dab add trailing newline 2020-11-07 17:22:16 +09:00
pypy c051dccecf cleanup code 2020-11-01 23:41:21 +09:00
pypy 9877e52d67 log watcher rework 2020-11-01 19:20:36 +09:00
pypy 131776979d allow webgl 2020-07-13 00:50:38 +09:00
pypy 9b6b42e11e disable-webgl 2020-06-28 16:32:41 +09:00
pypy 3ae70b6c0d using allow-universal-access-from-files instead of disable-web-security 2020-06-28 16:29:27 +09:00
pypy 2f65128710 cleanup code 2020-06-28 16:27:58 +09:00
pypy 4552192227 cleanup code 2020-06-26 21:44:55 +09:00
pypy 04fadf6ff4 set cache directory as absolute path 2020-03-28 20:07:32 +09:00
pypy 6365582e9e add HiDPI support 2019-11-18 23:11:08 +09:00
pypy 69d7549a41 adjust cef options 2019-11-18 23:10:11 +09:00
pypy 26b371fd0f v2019.08.19 2019-08-19 23:21:08 +09:00
pypy 35e7de03e4 v2019.08.17 2019-08-17 04:19:01 +09:00
pypy 90f096c497 Initial commit 2019-08-16 22:53:04 +09:00