ivan-hc / OBS-Studio-appimage

OBS Studio AppImage built on top of JuNest, the lightweight Arch Linux based distro that runs on top of any other Linux distro.
https://github.com/ivan-hc/ArchImage
21 stars 3 forks source link

Running the appimage creates a ~/.cache dir. #6

Closed Samueru-sama closed 7 months ago

Samueru-sama commented 7 months ago

I have XDG_CACHE_HOME="$HOME/.local/cache" which means I don't have a $HOME/.cache dir on my system.

Running this appimage results in that directory being created, with this file inside named just_wrapper.old:

#!/usr/bin/env bash

eval "junest_args_array=(${JUNEST_ARGS:-ns})"
junest "${junest_args_array[@]}" -- $(basename ${0}) "$@"

This is likely created by a hardcoded path to cache instead of checking for the xdg variables. Should be an easy fix.

ivan-hc commented 7 months ago

Yes, you're right, this was what remains of my old tests, when it was difficult to bypass JuNest's checks, the earlier days.

I'll remove that line from the AppRun to fix this... just rebuilt on my PC and seen that we don't need this anymore.