Skip to content

Commit e4aeba4

Browse files
committed
refactor(installer): improve installation script and prune unused tools
1 parent 7f9f967 commit e4aeba4

File tree

5 files changed

+2
-24
lines changed

5 files changed

+2
-24
lines changed

β€Žinstallerβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ main() {
160160
_s "πŸ™ Please, restart your terminal to see the changes"
161161

162162
_a "πŸ“‹ Check the installation logs"
163-
cat "$DOTFILES_LOG_FILE"
163+
_s "cat $DOTFILES_LOG_FILE"
164164
}
165165

166166
main "$@"

β€Žlangs/js/global_modules.txtβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@angular/cli
21
dockly
32
gitmoji-cli
43
http-server

β€Žos/mac/brew/Brewfileβ€Ž

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ tap "clementtsang/bottom"
55
tap "moncho/dry"
66
tap "github/gh"
77
tap "homebrew/bundle"
8-
tap "homebrew/cask"
9-
tap "homebrew/core"
108
tap "homebrew/services"
119
brew "fzf"
1210
brew "denisidoro/tools/navi"
@@ -69,30 +67,24 @@ brew "yq"
6967
brew "miller"
7068
brew "starship"
7169
brew "go-task/tap/go-task"
72-
brew "mise"
7370
brew "duf"
7471
brew "rm-improved"
7572
brew "tre-command"
7673
brew "ctop"
7774
brew "gping"
7875
brew "thefuck"
79-
brew "cleanclip"
8076
brew "step"
8177
brew "hadolint"
8278
brew "zimfw"
8379
cask "raycast"
84-
cask "docker"
8580
cask "notion"
8681
cask "dbeaver-community"
87-
cask "iterm2-nightly"
82+
cask "iterm2"
8883
cask "gas-mask"
8984
cask "rectangle"
9085
cask "postman"
9186
cask "iina"
9287
cask "shottr"
93-
cask "cheatsheet"
94-
cask "bitwarden"
95-
cask "bitwarden-cli"
9688
cask "devtoys"
9789
cask "mos"
9890
cask "appcleaner"

β€Žrestoration_scripts/01-hello_friend.shβ€Ž

Lines changed: 0 additions & 1 deletion
This file was deleted.

β€Žscripts/self/installβ€Ž

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,3 @@ fi
2424

2525
log::info "πŸ“₯ Importing packages"
2626
"$DOTFILES_PATH/bin/dot" package import 2>&1 | log::file "πŸ“₯ Importing packages"
27-
28-
log::info "πŸ”™ Executing custom restoration scripts"
29-
install_scripts_path="$DOTFILES_PATH/restoration_scripts"
30-
if [ -d "$install_scripts_path" ]; then
31-
find "$install_scripts_path" -mindepth 1 -maxdepth 1 -type l,f -name '*.sh' |
32-
sort |
33-
while read -r install_script; do
34-
{ [[ -x "$install_script" ]] && . "$install_script" | log::file "πŸ”™ Executing afterinstall: $(basename "$install_script")"; } || {
35-
log::error "Install script error in $(basename "$install_script")"
36-
}
37-
done
38-
fi

0 commit comments

Comments
Β (0)