zuppaclaude 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/cloud.js +0 -5
- package/package.json +1 -1
package/lib/components/cloud.js
CHANGED
|
@@ -35,7 +35,6 @@ class CloudManager {
|
|
|
35
35
|
|
|
36
36
|
try {
|
|
37
37
|
if (this.platform.isMac) {
|
|
38
|
-
// Check if brew is available
|
|
39
38
|
if (this.platform.commandExists('brew')) {
|
|
40
39
|
this.platform.exec('brew install rclone', { silent: false, stdio: 'inherit' });
|
|
41
40
|
} else {
|
|
@@ -43,7 +42,6 @@ class CloudManager {
|
|
|
43
42
|
this.platform.exec('curl https://rclone.org/install.sh | sudo bash', { silent: false, stdio: 'inherit' });
|
|
44
43
|
}
|
|
45
44
|
} else if (this.platform.isLinux) {
|
|
46
|
-
// Try package managers in order
|
|
47
45
|
if (this.platform.commandExists('apt')) {
|
|
48
46
|
this.platform.exec('sudo apt update && sudo apt install -y rclone', { silent: false, stdio: 'inherit' });
|
|
49
47
|
} else if (this.platform.commandExists('dnf')) {
|
|
@@ -51,11 +49,9 @@ class CloudManager {
|
|
|
51
49
|
} else if (this.platform.commandExists('pacman')) {
|
|
52
50
|
this.platform.exec('sudo pacman -S --noconfirm rclone', { silent: false, stdio: 'inherit' });
|
|
53
51
|
} else {
|
|
54
|
-
// Fallback to curl installer
|
|
55
52
|
this.platform.exec('curl https://rclone.org/install.sh | sudo bash', { silent: false, stdio: 'inherit' });
|
|
56
53
|
}
|
|
57
54
|
} else if (this.platform.isWindows) {
|
|
58
|
-
// Windows - try winget first
|
|
59
55
|
if (this.platform.commandExists('winget')) {
|
|
60
56
|
this.platform.exec('winget install -e --id Rclone.Rclone', { silent: false, stdio: 'inherit' });
|
|
61
57
|
} else if (this.platform.commandExists('choco')) {
|
|
@@ -66,7 +62,6 @@ class CloudManager {
|
|
|
66
62
|
}
|
|
67
63
|
}
|
|
68
64
|
|
|
69
|
-
// Verify installation
|
|
70
65
|
if (this.isRcloneInstalled()) {
|
|
71
66
|
this.logger.success('rclone installed successfully');
|
|
72
67
|
return true;
|