1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-05 16:43:53 +00:00

Merge branch 'main' of github.com:tw93/Mole

This commit is contained in:
Tw93
2025-12-28 14:07:48 +08:00

View File

@@ -136,8 +136,8 @@ resolve_source_dir() {
start_line_spinner "Fetching Mole source..."
if command -v curl > /dev/null 2>&1; then
if curl -fsSL -o "$tmp/mole.tar.gz" "https://github.com/tw93/mole/archive/refs/heads/main.tar.gz" 2>/dev/null; then
if tar -xzf "$tmp/mole.tar.gz" -C "$tmp" 2>/dev/null; then
if curl -fsSL -o "$tmp/mole.tar.gz" "https://github.com/tw93/mole/archive/refs/heads/main.tar.gz" 2> /dev/null; then
if tar -xzf "$tmp/mole.tar.gz" -C "$tmp" 2> /dev/null; then
stop_line_spinner
# Extracted folder name: Mole-main (capital M)
if [[ -d "$tmp/Mole-main" ]]; then