#!/usr/bin/env sh # @file App Backup Variables # @brief Stores variables that instruct various utilities what location to use for private application data # @description # The variables in this file are used to instruct `autorestic` and possibly other utilities about the # location of the private application data for various programs that get backed up. if [ -d /Applications ] && [ -d /System ]; then ### macOS ALTAIR_APPDATA="$HOME/Library/Application Support/Altair GraphQL Client" ANDROID_STUDIO_APPDATA="TODO" BRAVE_BROWSER_APPDATA="$HOME/Library/Application Support/BraveSoftware/Brave-Browser/Default" FERDIUM_APPDATA="$HOME/Library/Application Support/Ferdium" FIREFOX_APPDATA="$HOME/Library/Application Support/Firefox/Profiles" GOOGLE_CHROME_APPDATA="$HOME/Library/Application Support/Google/Chrome/Default" LOGI_OPTIONS_PLUS_APPDATA="$HOME/Library/Application Support/LogiOptionsPlus" MAILSPRING_APPDATA="$HOME/Library/Application Support/Mailspring" MARK_TEXT_APPDATA="$HOME/Library/Application Support/marktext" MICROSOFT_EDGE_APPDATA="$HOME/Library/Application Support/Microsoft Edge/Default" NOTION_APPDATA="$HOME/Library/Application Support/Notion" PIECES_OS_APPDATA="$HOME/Library/Application Support/com.pieces.os" RAYCAST_APPDATA="$HOME/Library/Application Support/com.raycast.macos" # REMMINA_APPDATA - Remmina not available on macOS TOR_BROWSER_APPDATA="$HOME/Library/Application Support/TorBrowser-Data/Tor" WARP_TERMINAL_APPDATA="$HOME/Library/Application Support/dev.warp.Warp-Stable" else ### Linux # Currently, we assume the Flatpak location whenever possible ANDROID_STUDIO_APPDATA="TODO" ALTAIR_APPDATA="$HOME/snap/altair/current/.config/Altair GraphQL Client" BRAVE_BROWSER_APPDATA="$HOME/.var/app/com.brave.Browser/config/BraveSoftware/Brave-Browser/Default" FERDIUM_APPDATA="$HOME/.var/app/org.ferdium.Ferdium/config/Ferdium" FIREFOX_APPDATA="$HOME/.var/app/org.mozilla.firefox/.mozilla/firefox" GOOGLE_CHROME_APPDATA="$HOME/.var/app/com.google.Chrome/config/google-chrome/Default" MAILSPRING_APPDATA="TODO" MARK_TEXT_APPDATA="TODO" MICROSOFT_EDGE_APPDATA="TODO" NOTION_APPDATA="TODO" PIECES_OS_APPDATA="TODO" REMMINA_APPDATA="$HOME/.var/app/org.remmina.Remmina/config/remmina/remmina.pref" TOR_BROWSER_APPDATA="TODO" WARP_TERMINAL_APPDATA="TODO" fi