···14141515## Auto-migration script ##
16161717-This script will walk you through the migration process:
1717+This script will automatically remove AtomicXR and install the new software:
1818`bash -c "$(curl -fsSL https://tangled.org/matrixfurry.com/atomic-xr/raw/main/migrate.sh)"`
19192020-If you'd like to learn more about the changes and why they were made, please read the next section.
2121-2220## Changes ##
23212424-The script will walk you through what has changed, but if you want to learn more about *why* things have changed, this
2525-is the section for you.
2222+I recommend reading this section, but here's the TL;DR:
2323+- Run the above migration script
2424+- Envision-OCI is much easier to use. Just install it and start Envision as normal, everything else will
2525+ be handled automatically. No more building from source or "Launch in Build Mode" required!
2626+- AtomicXR CLI's manual system configuration commands are no longer necessary
26272728### 1. The AtomicXR Homebrew Tap has been replaced by Homebrew-XR
2829···35363637### 2. Envision in Distrobox (`axr envision`) has been replaced with Envision-OCI
37383838-The old process for getting Envision to build software inside a container was complex, hard to understand, and very
3939-prone to breaking.
4040-4141-When Envision was installed or updated via the AtomicXR CLI, it would:
4242-1. Create a Fedora Distrobox container, then manually install all the build dependencies for Envision, Monado, WiVRn, WMR, etc.
4343-2. Delete any previously installed build of Envision and start from scratch
4444-3. Download the Envision source code and apply patches for the homebrew plugin system
4545-4. Create an entirely separate "build mode" that runs envision itself in the Distrobox container
4646-5. Build Envision from source
4747-4848-That approach caused countless bugs and hard-to-understand issues for people. Runtime libraries would be missing on the
4949-host, Envision sometimes wouldn't launch outside of build mode, builds would randomly fail, Monado couldn't run inside
5050-of build mode, etc.
5151-5252-Maintenance was also very tedious and difficult. Anytime something was updated or fixed, more bugs
5353-would appear. Eventually, it got too out of date, and no longer could install or run at all.
5454-5555-Luckily, you don't have to worry about any of that anymore. Envision-OCI takes a much simpler approach, it uses a
5656-shim to run builds in Podman, using pre-built container images that include all the required build dependencies. All it
5757-needs to work is a modified PATH containing the shim, no more or building from source or "Launch in Build Mode" required.
3939+The old process for getting Envision to build software inside a container was complex and very prone to breaking.
4040+Envision-OCI is much easier to use. All you need to do is install it and start Envision as normal, everything else will
4141+be handled automatically. No more building from source or "Launch in Build Mode" required!
58425943Pre-built Monado packages will also be available soon in the Homebrew-XR repository. Most people won't need to worry about
6044building it themselves. You'll be able to install Monado in seconds, and use Envision as an easy launcher and configuration tool.