XR for Universal Blue and Fedora Atomic Desktops
vr fedora-atomic linux
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

seperate checks for openxr-libs and openvr-api

+14 -5
+14 -5
src/atomic-xr/envision.nu
··· 19 19 log info "Successfully uninstalled Envision" 20 20 } 21 21 22 + def ensure-host-packages [ 23 + ...packages: string 24 + ] { 25 + $packages 26 + | each {|package| 27 + if (rpm -q $package | complete | get exit_code) != 0 { 28 + rpm-ostree install $package 29 + # TODO: Notification actions 30 + notify-send -u critical $"`($package)` installed" "Please reboot or use `rpm-ostree ex apply-live` before attempting to launch Envision." 31 + } 32 + } 33 + } 34 + 22 35 export def upgrade [] { 23 36 distrobox upgrade envision 24 37 ··· 34 47 } 35 48 git switch --detach (git tag -l --sort=v:refname | lines | last) 36 49 37 - if (rpm -q openxr-libs openvr-api | complete | get exit_code) != 0 { 38 - rpm-ostree install openxr-libs openvr-api 39 - # TODO: Notification actions 40 - notify-send -u critical "Package(s) Installed" "Please reboot or use `rpm-ostree ex apply-live` before attempting to launch Envision." 41 - } 50 + ensure-host-packages openxr-libs openvr-api 42 51 43 52 [ 44 53 "Actions=BuildMode;"