CalebQ42 / LinuxPA

A PortableApps.com type launcher for linux
MIT License
30 stars 1 forks source link

portable home folders to survive appimage updates #9

Closed Kodiman closed 7 years ago

Kodiman commented 7 years ago

hi, your LinuxPA is excellent! as a complete solution to make LinuxPA appimage updates easy, please add an environment variable inside LinuxPA for each appimage program to have its own settings folders that survive version updates. an environment variable (such as LPAAPPNAME) that is the short application name (the prefix and/or desktop entry name) of the launched appimage. and, can rename the existing PANAME to such as LPAFILENAME to have both methods clearly available as options. much appreciated. thanks.

common.sh export HOME=$PWD/Home-PA/$LPAAPPNAME.home export XDG_CONFIG_HOME=$PWD/Home-PA/$LPAAPPNAME.config results in the versionless subfolders from app name... /Home-PA/Firefox.AppImage.home /Home-PA/Firefox.AppImage.config

common.sh export HOME=$PWD/Home-PA/$LPAFILENAME.home export XDG_CONFIG_HOME=$PWD/Home-PA/$LPAFILENAME.config results in the "versioned" subfolders from file name... /Home-PA/Firefox-54.0.glibc2.3.4-x86_64.AppImage.home /Home-PA/Firefox-54.0.glibc2.3.4-x86_64.AppImage.config

CalebQ42 commented 7 years ago

Next update i'll probably be adding the variable $APPNAME and changing $PANAME to $FILENAME

Sent from my Google Nexus 5 CAF using FastHub

Kodiman commented 7 years ago

yes, that is good. much appreciated. thanks!

Kodiman commented 7 years ago

hi. thanks for solving that. you are the best.