Skip to content

Commit c9f14b9

Browse files
committed
Update application backup settings
1 parent adb8c3b commit c9f14b9

File tree

1 file changed

+62
-24
lines changed

1 file changed

+62
-24
lines changed

software.yml

Lines changed: 62 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,9 @@ softwarePackages:
423423
_link:cask:
424424
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/pieces-os"
425425
target: "$HOME/Library/Application Support/com.pieces.os"
426-
_link:snap: 'TODO'
426+
_link:snap:
427+
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/pieces-os"
428+
target: "$HOME/snap/pieces-os/current"
427429
appinstaller: https://builds.pieces.app/stages/production/appinstaller/os_server.appinstaller
428430
cask: pieces-os
429431
exe: https://builds.pieces.app/stages/production/os_server/windows-exe/download
@@ -527,7 +529,9 @@ softwarePackages:
527529
_link:cask:
528530
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/Altair GraphQL Client"
529531
target: "$HOME/Library/Application Support/Altair GraphQL Client"
530-
_link:choco: 'TODO'
532+
_link:choco:
533+
- src: "%APPDATA%/.config/Altair GraphQL Client"
534+
target: "%APPDATA%/Altair GraphQL Client"
531535
_link:snap:
532536
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/Altair GraphQL Client"
533537
target: "$HOME/snap/altair/current/.config/Altair GraphQL Client"
@@ -602,9 +606,19 @@ softwarePackages:
602606
_name: Android Studio
603607
_app: Android Studio.app
604608
_link:cask: 'TODO'
605-
_link:choco: 'TODO'
606-
_link:flatpak: 'TODO'
607-
_link:snap: 'TODO'
609+
_link:choco:
610+
- src: "%APPDATA%/.config/Google"
611+
target: "%APPDATA%/Google"
612+
_link:flatpak:
613+
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/Google/AndroidStudio2023.1"
614+
target: "$HOME/.var/app/com.google.AndroidStudio/config/Google/AndroidStudio2023.1"
615+
- src: "$HOME/.local/share/Google/consentOptions"
616+
target: "$HOME/.var/app/com.google.AndroidStudio/data/Google/consentOptions"
617+
_link:snap:
618+
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/Google/AndroidStudio2023.1"
619+
target: "$HOME/.config/Google/AndroidStudio2023.1"
620+
- src: "$HOME/.local/share/Google/consentOptions"
621+
target: "$HOME/.local/share/Google/consentOptions"
608622
cask: android-studio
609623
choco: androidstudio
610624
flatpak: com.google.AndroidStudio
@@ -1237,7 +1251,7 @@ softwarePackages:
12371251
_github: false
12381252
_name: Logi Options+
12391253
_app: logioptionsplus.app
1240-
_link:choco: 'TODO'
1254+
_link:choco: 'TODO - Installation fails, check again'
12411255
_link:cask:
12421256
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/LogiOptionsPlus"
12431257
target: "$HOME/Library/Application Support/LogiOptionsPlus"
@@ -1929,8 +1943,12 @@ softwarePackages:
19291943
_link:cask:
19301944
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/tor-browser"
19311945
target: "$HOME/Library/Application Support/TorBrowser-Data/Tor"
1932-
_link:choco: 'TODO'
1933-
_link:flatpak: 'TODO'
1946+
_link:choco:
1947+
- src: "%APPDATA%/.config/tor-browser"
1948+
target: "%PROGRAMDATA%/chocolatey/lib/tor-browser/tools/tor-browser/Browser/TorBrowser/Data"
1949+
_link:flatpak:
1950+
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/tor-browser"
1951+
target: "$HOME/.var/app/com.github.micahflee.torbrowser-launcher/data/torbrowser/tbb/x86_64/tor-browser/Browser/TorBrowser/Data/"
19341952
cask: tor-browser
19351953
choco: tor-browser
19361954
flatpak: com.github.micahflee.torbrowser-launcher
@@ -4234,12 +4252,12 @@ softwarePackages:
42344252
if command -v gitomatic > /dev/null; then
42354253
### Copy bin to /usr/local/bin
42364254
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
4237-
4255+
42384256
### Copy gitomatic to global directory
42394257
if [ ! -f /usr/local/bin/gitomatic ]; then
42404258
logg info 'Copying gitomatic executable to /usr/local/bin/gitomatic' && sudo cp -f "$(which gitomatic)" /usr/local/bin/gitomatic
42414259
fi
4242-
4260+
42434261
if [ -d /Applications ] && [ -d /System ]; then
42444262
### macOS
42454263
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
@@ -5840,7 +5858,9 @@ softwarePackages:
58405858
_link:cask:
58415859
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/Ferdium"
58425860
target: "$HOME/Library/Application Support/Ferdium"
5843-
_link:choco: 'TODO'
5861+
_link:choco:
5862+
- src: "%APPDATA%/.config/Ferdium"
5863+
target: "%APPDATA%/Ferdium"
58445864
_link:flatpak:
58455865
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/Ferdium"
58465866
target: "$HOME/.var/app/org.ferdium.Ferdium/config/Ferdium"
@@ -5886,9 +5906,15 @@ softwarePackages:
58865906
_link:cask:
58875907
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/mailspring"
58885908
target: "$HOME/Library/Application Support/Mailspring"
5889-
_link:choco: 'TODO'
5890-
_link:flatpak: 'TODO'
5891-
_link:snap: 'TODO'
5909+
_link:choco:
5910+
- src: "%APPDATA%/.config/Mailspring"
5911+
target: "%APPDATA%/Mailspring"
5912+
_link:flatpak:
5913+
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/mailspring"
5914+
target: "$HOME/.var/app/com.getmailspring.Mailspring/config/Mailspring"
5915+
_link:snap:
5916+
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/mailspring"
5917+
target: "$HOME/snap/mailspring/current/.config/Mailspring"
58925918
cask: mailspring
58935919
choco: mailspring
58945920
flatpak: com.getmailspring.Mailspring
@@ -5917,9 +5943,15 @@ softwarePackages:
59175943
_link:cask:
59185944
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/marktext"
59195945
target: "$HOME/Library/Application Support/marktext"
5920-
_link:choco: 'TODO'
5921-
_link:flatpak: 'TODO'
5922-
_link:winget: 'TODO'
5946+
_link:choco:
5947+
- src: "%APPDATA%/.config/marktext"
5948+
target: "%APPDATA%/marktext"
5949+
_link:flatpak:
5950+
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/marktext"
5951+
target: "$HOME/.var/app/com.github.marktext.marktext/config/marktext"
5952+
_link:winget:
5953+
- src: "%APPDATA%/.config/marktext"
5954+
target: "%APPDATA%/marktext"
59235955
cask: mark-text
59245956
choco: marktext
59255957
flatpak: com.github.marktext.marktext
@@ -5993,8 +6025,12 @@ softwarePackages:
59936025
_link:cask:
59946026
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/microsoft-edge/Default"
59956027
target: "$HOME/Library/Application Support/Microsoft Edge/Default"
5996-
_link:choco: 'TODO'
5997-
_link:flatpak: 'TODO'
6028+
_link:choco:
6029+
- src: "%APPDATA%/.config/microsoft-edge/Default"
6030+
target: "%LOCALAPPDATA%/Microsoft/Edge/User Data/Default"
6031+
_link:flatpak:
6032+
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/microsoft-edge/Default"
6033+
target: "$HOME/.var/app/com.microsoft.Edge/config/microsoft-edge/Default"
59986034
cask: microsoft-edge
59996035
choco: microsoft-edge
60006036
flatpak: com.microsoft.Edge
@@ -6810,7 +6846,9 @@ softwarePackages:
68106846
_link:cask:
68116847
- src: "${XDG_CONFIG_HOME:-$HOME/.config}/notion"
68126848
target: "$HOME/Library/Application Support/Notion"
6813-
_link:choco: 'TODO'
6849+
_link:choco:
6850+
- src: "%APPDATA%/.config/notion"
6851+
target: "%APPDATA%/Notion"
68146852
cask: notion
68156853
choco: notion
68166854
mas: 1559269364
@@ -9257,7 +9295,7 @@ softwarePackages:
92579295
_home: https://github.com/skeeto/endlessh
92589296
_name: Endlessh
92599297
_service: endlessh
9260-
_post: |
9298+
_post: |
92619299
# @file Endlessh Configuration
92629300
# @brief Applies the Endlessh configuration and starts the service on Linux systems
92639301
# @description
@@ -10257,7 +10295,7 @@ softwarePackages:
1025710295
# ## Links
1025810296
#
1025910297
# * [Privoxy configuration](https://github.com/megabyte-labs/install.doctor/tree/master/home/dot_config/privoxy/config)
10260-
10298+
1026110299
### Define the Privoxy configuration location based on whether system is macOS or Linux
1026210300
if [ -d /Applications ] && [ -d /System ]; then
1026310301
### macOS
@@ -10283,7 +10321,7 @@ softwarePackages:
1028310321
sudo add-usergroup "$USER" privoxy
1028410322
fi
1028510323
sudo chown privoxy:privoxy "$PRIVOXY_CONFIG" 2> /dev/null || sudo chown privoxy:$(id -g -n) "$PRIVOXY_CONFIG"
10286-
10324+
1028710325
### Restart Privoxy after configuration is applied
1028810326
if [ -d /Applications ] && [ -d /System ]; then
1028910327
### macOS
@@ -11150,7 +11188,7 @@ softwarePackages:
1115011188
# ## Links
1115111189
#
1115211190
# * [`fail2ban` configuration folder](https://github.com/megabyte-labs/install.doctor/tree/master/home/private_dot_ssh/fail2ban)
11153-
11191+
1115411192
### Notify of script start
1115511193
logg info 'Configuring fail2ban'
1115611194

0 commit comments

Comments
 (0)