···11-# SPDX-License-Identifier: AGPL-3.0-only
22-# Copyright (c) 2025 Shiloh Fen <shiloh@shilohfen.com>
33-44-export use _debug.nu
55-export use _migrate.nu
66-export use envision.nu
77-export use flatpak.nu
88-export use homebrew.nu
99-export use oscavmgr.nu
1010-export use runtime.nu
1111-export use steamvr-lh.nu
1212-export use wayvr.nu
-18
src/atomic-xr/oscavmgr.nu
···11-# SPDX-License-Identifier: AGPL-3.0-only
22-# Copyright (c) 2025 Shiloh Fen <shiloh@shilohfen.com>
33-44-const self = path self .
55-66-# Start OSC Avatar Manager and advertise it using VrcAdvert
77-export def start [
88- module: string # babble, openxr (WiVRn), alvr
99-] {
1010- if (which oscavmgr | length) == 0 or (which VrcAdvert | length) == 0 {
1111- error make -u {
1212- msg: "OscAvMgr and VrcAdvert are not installed"
1313- help: "Use `brew install oscavmgr vrc-advert` to install them"
1414- }
1515- }
1616-1717- exec ($self | path join 'bin' 'oscavmgr-launch.sh') $module
1818-}