Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -631,8 +631,11 @@ run_uninstall() {
local widgets_file="$WAVETERM_CONFIG/widgets.json"
local script_path="$BIN_DIR/wave-scratch.sh"

# Remove widgets from widgets.json
if [[ -f "$widgets_file" ]]; then
# Check if Wave Terminal is installed
if [[ -z "$WAVETERM_CONFIG" ]]; then
print_warning "Wave Terminal config not found, skipping widget removal."
elif [[ -f "$widgets_file" ]]; then
# Remove widgets from widgets.json
local temp_file
temp_file=$(mktemp)

Expand Down