Skip to content

Commit

Permalink
Update application backup settings
Browse files Browse the repository at this point in the history
  • Loading branch information
enggnr committed Dec 15, 2023
1 parent adb8c3b commit c9f14b9
Showing 1 changed file with 62 additions and 24 deletions.
86 changes: 62 additions & 24 deletions software.yml
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,9 @@ softwarePackages:
_link:cask:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/pieces-os"
target: "$HOME/Library/Application Support/com.pieces.os"
_link:snap: 'TODO'
_link:snap:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/pieces-os"
target: "$HOME/snap/pieces-os/current"
appinstaller: https://builds.pieces.app/stages/production/appinstaller/os_server.appinstaller
cask: pieces-os
exe: https://builds.pieces.app/stages/production/os_server/windows-exe/download
Expand Down Expand Up @@ -527,7 +529,9 @@ softwarePackages:
_link:cask:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/Altair GraphQL Client"
target: "$HOME/Library/Application Support/Altair GraphQL Client"
_link:choco: 'TODO'
_link:choco:
- src: "%APPDATA%/.config/Altair GraphQL Client"
target: "%APPDATA%/Altair GraphQL Client"
_link:snap:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/Altair GraphQL Client"
target: "$HOME/snap/altair/current/.config/Altair GraphQL Client"
Expand Down Expand Up @@ -602,9 +606,19 @@ softwarePackages:
_name: Android Studio
_app: Android Studio.app
_link:cask: 'TODO'
_link:choco: 'TODO'
_link:flatpak: 'TODO'
_link:snap: 'TODO'
_link:choco:
- src: "%APPDATA%/.config/Google"
target: "%APPDATA%/Google"
_link:flatpak:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/Google/AndroidStudio2023.1"
target: "$HOME/.var/app/com.google.AndroidStudio/config/Google/AndroidStudio2023.1"
- src: "$HOME/.local/share/Google/consentOptions"
target: "$HOME/.var/app/com.google.AndroidStudio/data/Google/consentOptions"
_link:snap:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/Google/AndroidStudio2023.1"
target: "$HOME/.config/Google/AndroidStudio2023.1"
- src: "$HOME/.local/share/Google/consentOptions"
target: "$HOME/.local/share/Google/consentOptions"
cask: android-studio
choco: androidstudio
flatpak: com.google.AndroidStudio
Expand Down Expand Up @@ -1237,7 +1251,7 @@ softwarePackages:
_github: false
_name: Logi Options+
_app: logioptionsplus.app
_link:choco: 'TODO'
_link:choco: 'TODO - Installation fails, check again'
_link:cask:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/LogiOptionsPlus"
target: "$HOME/Library/Application Support/LogiOptionsPlus"
Expand Down Expand Up @@ -1929,8 +1943,12 @@ softwarePackages:
_link:cask:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/tor-browser"
target: "$HOME/Library/Application Support/TorBrowser-Data/Tor"
_link:choco: 'TODO'
_link:flatpak: 'TODO'
_link:choco:
- src: "%APPDATA%/.config/tor-browser"
target: "%PROGRAMDATA%/chocolatey/lib/tor-browser/tools/tor-browser/Browser/TorBrowser/Data"
_link:flatpak:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/tor-browser"
target: "$HOME/.var/app/com.github.micahflee.torbrowser-launcher/data/torbrowser/tbb/x86_64/tor-browser/Browser/TorBrowser/Data/"
cask: tor-browser
choco: tor-browser
flatpak: com.github.micahflee.torbrowser-launcher
Expand Down Expand Up @@ -4234,12 +4252,12 @@ softwarePackages:
if command -v gitomatic > /dev/null; then
### Copy bin to /usr/local/bin
logg info "Copying $HOME/.local/bin/gitomatic-service to /usr/local/bin/gitomatic-service" && sudo cp -f "$HOME/.local/bin/gitomatic-service" /usr/local/bin/gitomatic-service
### Copy gitomatic to global directory
if [ ! -f /usr/local/bin/gitomatic ]; then
logg info 'Copying gitomatic executable to /usr/local/bin/gitomatic' && sudo cp -f "$(which gitomatic)" /usr/local/bin/gitomatic
fi
if [ -d /Applications ] && [ -d /System ]; then
### macOS
logg info 'Copying gitomatic plist file to /Library/LaunchDaemons' && sudo cp -f "${XDG_CONFIG_HOME:-$HOME/.config}/gitomatic/com.github.muesli.gitomatic.plist" /Library/LaunchDaemons/com.github.muesli.gitomatic.plist
Expand Down Expand Up @@ -5840,7 +5858,9 @@ softwarePackages:
_link:cask:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/Ferdium"
target: "$HOME/Library/Application Support/Ferdium"
_link:choco: 'TODO'
_link:choco:
- src: "%APPDATA%/.config/Ferdium"
target: "%APPDATA%/Ferdium"
_link:flatpak:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/Ferdium"
target: "$HOME/.var/app/org.ferdium.Ferdium/config/Ferdium"
Expand Down Expand Up @@ -5886,9 +5906,15 @@ softwarePackages:
_link:cask:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/mailspring"
target: "$HOME/Library/Application Support/Mailspring"
_link:choco: 'TODO'
_link:flatpak: 'TODO'
_link:snap: 'TODO'
_link:choco:
- src: "%APPDATA%/.config/Mailspring"
target: "%APPDATA%/Mailspring"
_link:flatpak:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/mailspring"
target: "$HOME/.var/app/com.getmailspring.Mailspring/config/Mailspring"
_link:snap:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/mailspring"
target: "$HOME/snap/mailspring/current/.config/Mailspring"
cask: mailspring
choco: mailspring
flatpak: com.getmailspring.Mailspring
Expand Down Expand Up @@ -5917,9 +5943,15 @@ softwarePackages:
_link:cask:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/marktext"
target: "$HOME/Library/Application Support/marktext"
_link:choco: 'TODO'
_link:flatpak: 'TODO'
_link:winget: 'TODO'
_link:choco:
- src: "%APPDATA%/.config/marktext"
target: "%APPDATA%/marktext"
_link:flatpak:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/marktext"
target: "$HOME/.var/app/com.github.marktext.marktext/config/marktext"
_link:winget:
- src: "%APPDATA%/.config/marktext"
target: "%APPDATA%/marktext"
cask: mark-text
choco: marktext
flatpak: com.github.marktext.marktext
Expand Down Expand Up @@ -5993,8 +6025,12 @@ softwarePackages:
_link:cask:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/microsoft-edge/Default"
target: "$HOME/Library/Application Support/Microsoft Edge/Default"
_link:choco: 'TODO'
_link:flatpak: 'TODO'
_link:choco:
- src: "%APPDATA%/.config/microsoft-edge/Default"
target: "%LOCALAPPDATA%/Microsoft/Edge/User Data/Default"
_link:flatpak:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/microsoft-edge/Default"
target: "$HOME/.var/app/com.microsoft.Edge/config/microsoft-edge/Default"
cask: microsoft-edge
choco: microsoft-edge
flatpak: com.microsoft.Edge
Expand Down Expand Up @@ -6810,7 +6846,9 @@ softwarePackages:
_link:cask:
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/notion"
target: "$HOME/Library/Application Support/Notion"
_link:choco: 'TODO'
_link:choco:
- src: "%APPDATA%/.config/notion"
target: "%APPDATA%/Notion"
cask: notion
choco: notion
mas: 1559269364
Expand Down Expand Up @@ -9257,7 +9295,7 @@ softwarePackages:
_home: https://github.com/skeeto/endlessh
_name: Endlessh
_service: endlessh
_post: |
_post: |
# @file Endlessh Configuration
# @brief Applies the Endlessh configuration and starts the service on Linux systems
# @description
Expand Down Expand Up @@ -10257,7 +10295,7 @@ softwarePackages:
# ## Links
#
# * [Privoxy configuration](https://github.com/megabyte-labs/install.doctor/tree/master/home/dot_config/privoxy/config)
### Define the Privoxy configuration location based on whether system is macOS or Linux
if [ -d /Applications ] && [ -d /System ]; then
### macOS
Expand All @@ -10283,7 +10321,7 @@ softwarePackages:
sudo add-usergroup "$USER" privoxy
fi
sudo chown privoxy:privoxy "$PRIVOXY_CONFIG" 2> /dev/null || sudo chown privoxy:$(id -g -n) "$PRIVOXY_CONFIG"
### Restart Privoxy after configuration is applied
if [ -d /Applications ] && [ -d /System ]; then
### macOS
Expand Down Expand Up @@ -11150,7 +11188,7 @@ softwarePackages:
# ## Links
#
# * [`fail2ban` configuration folder](https://github.com/megabyte-labs/install.doctor/tree/master/home/private_dot_ssh/fail2ban)
### Notify of script start
logg info 'Configuring fail2ban'
Expand Down

0 comments on commit c9f14b9

Please sign in to comment.