Commit Graph

31 Commits

Author SHA1 Message Date
Natsumi
d2fd205476 Merge overlays, move overlay to separate process (#44)
* refactor: merge two overlay offScreenBrowser into one

* Electron support for shared overlay

* Separate overlay into its own process

* fix: invalid overlay texture size

* Handle duplicate processes

* Remove logging

---------

Co-authored-by: pa <maplenagisa@gmail.com>
Co-authored-by: rs189 <35667100+rs189@users.noreply.github.com>
2026-01-12 11:31:33 +13:00
Natsumi
191bf08a12 Update Cef to .NET 10 2025-11-19 01:56:03 +11:00
Natsumi
18c2b42852 Calendar local datetime format and download buttons 2025-11-08 00:34:09 +11:00
Natsumi
b68399ca8a Fix Electron IsGameRunning check 2025-11-02 02:42:31 +11:00
Natsumi
3836b9b4ce Tray notification icon dot 2025-10-30 01:28:07 +11:00
Natsumi
9547297a09 Close -> Dispose 2025-10-22 13:04:30 +11:00
Roka
482d8abd6d Fix process detection bugs and resource leaks in AppApiElectron (GameHandler.cs) (#1444)
* Fix process detection and resource leaks

Critical bugs:
- Fix VRChat detection by removing .exe from process name

Performance:
- Use GetProcessesByName() to avoid scanning all processes
- Optimize IsSteamVRRunning to check exact matches first

Resource management:
- Add Process.Dispose() calls to prevent handle leaks
- Standardize on Dispose() instead of Close()

* Fix broken ExitCode check in StartGame

Remove ExitCode check that always threw an exception. You cannot access
Process.ExitCode on a process that is still running~ it throws
InvalidOperationException. Steam stays running after starting VRChat,
so this check always failed.

Simplified to return true when Process.Start() succeeds, since Steam
handles VRChat launch asynchronously and there's no way to verify
immediate success.

Also changed Close() to Dispose() for consistency.
2025-10-22 12:11:37 +11:00
Natsumi
97ef396ec9 Random fixes 2025-10-21 14:10:31 +11:00
Natsumi
3324d0d279 Upgrade to Vue3 and Element Plus (#1374)
* Update Vue devtools

* upgrade vue pinia element-plus vue-i18n, add vite

* fix: i18n

* global components

* change v-deep

* upgrade vue-lazyload

* data table

* update enlint and safe-dialog

* package.json and vite.config.js

* el-icon

* el-message

* vue 2 -> vue3 migration changes

* $pinia

* dialog

* el-popover slot

* lint

* chore

* slot

* scss

* remote state access

* misc

* jsconfig

* el-button size mini -> small

* :model-value

* ElMessageBox

* datatable

* remove v-lazyload

* template #dropdown

* mini -> small

* css

* byebye hideTooltips

* use sass-embedded

* Update SQLite, remove unneeded libraries

* Fix shift remove local avatar favorites

* Electron arm64

* arm64 support

* bye pug

* f-word vite hah

* misc

* remove safe dialog component

* Add self invite to launch dialog

* Fix errors

* Icons 1

* improve localfavorite loading performance

* improve favorites world item performance

* dialog visibility changes for Element Plus

* clear element plus error

* import performance

* revert App.vue hah

* hah

* Revert "Add self invite to launch dialog"

This reverts commit 4801cfad58.

* Toggle self invite/open in-game

* Self invite on launch dialog

* el-button icon

* el-icon

* fix user dialog tab switching logic

* fix PlayerList

* Formatting changes

* More icons

* Fix friend log table

* loading margin

* fix markdown

* fix world dialog tab switching issue

* Fixes and formatting

* fix: global i18n.t export

* fix favorites world tab not working

* Create instance, displayName

* Remove group members sort by userId

* Fix loading dialog tabs on swtich

* Star

* charts console.warn

* wip: fix charts

* wip: fix charts

* wip: charts composables

* fix favorite item tooltip warning

* Fixes and formatting

* Clean up image dialogs

* Remove unused method

* Fix platform/size border

* Fix platform/size border

* $vr

* fix friendExportDialogVisible binding

* ElMessageBox and Settings

* Login formatting

* Rename VR overlay query

* Fix image popover and userdialog badges

* Formatting

* Big buttons

* Fixes, update Cef

* Fix gameLog table nav buttons jumping around while using nav buttons

* Fix z-index

* vr overlay

* vite input add theme

* defineAsyncComponent

* ISO 639-1

* fix i18n

* clean t

* Formatting, fix calendar, rotate arrows

* Show user status when user is offline

* Fix VR overlay

* fix theme and clean up

* split InstanceActivity

* tweak

* Fix VR overlay formatting

* fix scss var

* AppDebug hahahaha

* Years

* remove reactive

* improve perf

* state hah…

* fix user rendering poblems when user object is not yet loaded

* improve perf

* Update avatar/world image uploader, licenses, remove previous images dialog (old images are now deleted)

* improve perf 1

* Suppress stray errors

* fix traveling location display issue

* Fix empty instance creator

* improve friend list refresh performance

* fix main charts

* fix chart

* Fix darkmode

* Fix avatar dialog tags

---------

Co-authored-by: pa <maplenagisa@gmail.com>
2025-09-12 10:45:24 +12:00
Natsumi
8e19175b15 Fix writing VRCX metadata on Linux 2025-08-13 17:05:28 +12:00
Teacup
4e64177722 feat: Rewrite png metadata handling, new VRC metadata (#1311)
* refactor: Move ScreenshotHelper png parsing to PNGHelper, simplify interface

* refactor: Fix references to screenshotmanager

* fix: Read resolution, not description

* refactor: Rewrite/move all png reading logic into new class

* refactor: Integrate new metadata helper functions

* refactor: Add docs, re-add legacy mods support, change error handling

There are no longer specific errors for each metadata type as it was
just super unnecessary; A verbose log including the exception/string is
now logged to file instead and a generic error is given in the UI.

* fix: Show old vrc beta format images

They were being treated as a non-image
2025-08-04 18:05:40 +12:00
Natsumi
3c21d88efa Remove wine support for Cef 2025-08-01 01:29:55 +12:00
rs189
a2dc6ba9a4 Linux: SteamVR overlay support (#1299)
* fix: open folder and select item on linux

* feat: linux wrist overlay

* feat: linux hmd overlay

* feat: replace unix sockets with shm on linux

* fix: reduce linux wrist overlay fps

* fix: hide electron offscreen windows

* fix: destroy electron offscreen windows when not in use

* fix: open folder and select item on linux

* feat: cpu, uptime and device monitoring on linux

* feat: native wayland gl context with x11 fallback on linux

* fix: use platform agnostic wording for common folders

* fix: crash dumps folder button on linux

* fix: enable missing VR notification options on linux

* fix: update cef, eslint config to include updated AppApiVr names

* merge: rebase linux VR changes to upstream

* Clean up

* Load custom file contents rather than path

Fixes loading custom file in debug mode

* fix: call SetVR on linux as well

* fix: AppApiVrElectron init, properly create and dispose of shm

* Handle avatar history error

* Lint

* Change overlay dispose logic

* macOS DOTNET_ROOT

* Remove moving dotnet bin

* Fix

* fix: init overlay on SteamVR restart

* Fix fetching empty instance, fix user dialog not fetching

* Trim direct access inputs

* Make icon higher res, because mac build would fail 😂

* macOS fixes

* will it build? that's the question

* fix: ensure offscreen windows are ready before vrinit

* will it build? that's the question

* will it build? that's the question

* meow

* one, more, time

* Fix crash and overlay ellipsis

* a

---------

Co-authored-by: Natsumi <cmcooper123@hotmail.com>
2025-07-19 12:07:43 +12:00
rs189
b6bc2cf202 Linux: fix open folder and select item (#1288)
* fix: open folder and select item on linux

* fix: crash dumps folder button on linux

* Rename AppData

---------

Co-authored-by: Natsumi <cmcooper123@hotmail.com>
2025-07-14 15:54:41 +12:00
Natsumi
834e5fc245 Handle parsing malformed user created VRC config.json files 2025-06-03 00:59:19 +10:00
Natsumi
78daeac736 Handle error parsing scuffed config.json 2025-05-27 02:02:55 +10:00
Natsumi
0b741a0305 Fix Linux OpenFolderAndSelectItem 1 2025-05-26 20:25:10 +10:00
Natsumi
83982ecde7 Fix Linux OpenFolderAndSelectItem 2025-05-26 19:16:14 +10:00
HelloHidnf
5812b37c17 Far less jank fix to previous pr (#1246)
* Check if Vrchat path is stale

* Check if Vrchat path is stale

* Fixed `Open Folder` opening file

* Fixed Open Folder opening file

* Fix `Open Folder` opening file
2025-05-26 18:52:10 +10:00
Natsumi
c9687bd493 Linux fixes 2025-05-26 05:21:00 +10:00
HelloHidnf
c6dc11d9d9 Check if Vrchat path is stale (#1240)
* Check if Vrchat path is stale

* Check if Vrchat path is stale
2025-05-24 03:44:51 +10:00
Anti-Apple4life
ad45c0cded Detect WiVRn when looking for if VR is running (#1212) 2025-04-18 16:04:15 +10:00
Natsumi
747a7ca683 Fix cookie bug 2025-03-03 17:03:04 +13:00
Natsumi
137608b705 Linux: Change how AppImage moving is handled, add support for vrcx:\\ 2025-02-28 11:31:33 +13:00
Natsumi
60d8d7682f Fix print cropping and Linux custom photo path 2025-02-17 13:22:11 +13:00
Natsumi
b6c1702a27 Linux steam folder fallback 2025-02-10 07:17:34 +13:00
Natsumi
5214522789 Path.Join() 2025-01-26 06:11:35 +13:00
Donad_VR
dfd695618c Update Folders.cs (#1081)
Fix resolution of SteamLibrary path in libraryfolders.vdf
2025-01-14 04:23:47 +13:00
Natsumi
885ead4edf Fixes, sort group instances 2025-01-14 01:19:12 +13:00
luna
b21a7698e1 use libraryfolders.vdf to resolve vrchat steam path on linux (#1076)
* use libraryfolders.vdf to resolve vrchat steam path

* fix electron screenshot combining paths incorrectly
2025-01-14 00:59:33 +13:00
Natsumi
938fff63d0 Electron support for Linux (#1074)
* init

* SQLite changes

* Move html folder, edit build scripts

* AppApi interface

* Build flags

* AppApi inheritance

* Finishing touches

* Merge upstream changes

* Test CI

* Fix class inits

* Rename AppApi

* Merge upstream changes

* Fix SQLiteLegacy on Linux, Add Linux interop, build tools

* Linux specific localisation strings

* Make it run

* Bring back most of Linux functionality

* Clean up

* Fix TTS voices

* Fix UI var

* Changes

* Electron minimise to tray

* Remove separate toggle for WlxOverlay

* Fixes

* Touchups

* Move csproj

* Window zoom, Desktop Notifications, VR check on Linux

* Fix desktop notifications, VR check spam

* Fix building on Linux

* Clean up

* Fix WebApi headers

* Rewrite VRCX updater

* Clean up

* Linux updater

* Add Linux to build action

* init

* SQLite changes

* Move html folder, edit build scripts

* AppApi interface

* Build flags

* AppApi inheritance

* Finishing touches

* Merge upstream changes

* Test CI

* Fix class inits

* Rename AppApi

* Merge upstream changes

* Fix SQLiteLegacy on Linux, Add Linux interop, build tools

* Linux specific localisation strings

* Make it run

* Bring back most of Linux functionality

* Clean up

* Fix TTS voices

* Changes

* Electron minimise to tray

* Remove separate toggle for WlxOverlay

* Fixes

* Touchups

* Move csproj

* Window zoom, Desktop Notifications, VR check on Linux

* Fix desktop notifications, VR check spam

* Fix building on Linux

* Clean up

* Fix WebApi headers

* Rewrite VRCX updater

* Clean up

* Linux updater

* Add Linux to build action

* Test updater

* Rebase and handle merge conflicts

* Fix Linux updater

* Fix Linux app restart

* Fix friend order

* Handle AppImageInstaller, show an install message on Linux

* Updates to the AppImage installer

* Fix Linux updater, fix set version, check for .NET, copy wine prefix

* Handle random errors

* Rotate tall prints

* try fix Linux restart bug

* Final

---------

Co-authored-by: rs189 <35667100+rs189@users.noreply.github.com>
2025-01-11 13:09:44 +13:00