@@ -40,15 +40,23 @@ install_system_deps() {
40
40
" ubuntu" )
41
41
sudo apt update
42
42
sudo apt install -y build-essential curl wget file libssl-dev libgtk-3-dev libwebkit2gtk-4.1-dev libsoup-3.0-dev libayatana-appindicator3-dev librsvg2-dev pkg-config
43
+ # Deps for git2 and ssh2
44
+ sudo apt install -y openssl-devel pkgconf perl-FindBin perl-IPC-Cmd perl
43
45
;;
44
46
" fedora" )
45
47
sudo dnf install -y gcc gcc-c++ make curl wget file openssl-devel gtk3-devel webkit2gtk4.1-devel libsoup3-devel libayatana-appindicator-gtk3-devel librsvg2-devel pkgconf-pkg-config
48
+ # Deps for git2 and ssh2
49
+ sudo dnf install -y openssl-devel pkgconf perl-FindBin perl-IPC-Cmd perl
46
50
;;
47
51
" arch" )
48
52
sudo pacman -S --needed --noconfirm base-devel curl wget file openssl gtk3 webkit2gtk-4.1 libsoup3 libayatana-appindicator librsvg pkgconf
53
+ # Deps for git2 and ssh2
54
+ sudo pacman -S --needed --noconfirm openssl-devel pkgconf perl-FindBin perl-IPC-Cmd perl
49
55
;;
50
56
" opensuse" )
51
57
sudo zypper install -y gcc gcc-c++ make curl wget file libopenssl-devel gtk3-devel webkit2gtk3-devel libsoup3-devel libayatana-appindicator3-devel librsvg-devel pkg-config
58
+ # Deps for git2 and ssh2
59
+ sudo zypper install -y openssl-devel pkgconf perl-FindBin perl-IPC-Cmd perl
52
60
;;
53
61
* )
54
62
print_error " Unsupported Linux distribution: $DISTRO "
@@ -95,34 +103,6 @@ install_bun() {
95
103
fi
96
104
}
97
105
98
- install_node () {
99
- if command_exists node; then
100
- NODE_VERSION=$( node --version | cut -d' v' -f2 | cut -d' .' -f1)
101
- if [ " $NODE_VERSION " -ge 18 ]; then
102
- print_success " Node.js is already installed ($( node --version) )"
103
- return
104
- fi
105
- fi
106
-
107
- print_status " Installing Node.js LTS..."
108
- case $DISTRO in
109
- " ubuntu" )
110
- curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
111
- sudo apt-get install -y nodejs
112
- ;;
113
- " fedora" )
114
- sudo dnf install -y nodejs npm
115
- ;;
116
- " arch" )
117
- sudo pacman -S --needed --noconfirm nodejs npm
118
- ;;
119
- " opensuse" )
120
- sudo zypper install -y nodejs18 npm18
121
- ;;
122
- esac
123
- print_success " Node.js installation completed"
124
- }
125
-
126
106
install_project_deps () {
127
107
print_status " Installing project dependencies..."
128
108
@@ -131,9 +111,6 @@ install_project_deps() {
131
111
if command_exists bun; then
132
112
bun install
133
113
print_success " Dependencies installed with Bun"
134
- elif command_exists npm; then
135
- npm install
136
- print_success " Dependencies installed with npm"
137
114
else
138
115
print_warning " Package manager not found, but continuing..."
139
116
fi
@@ -173,7 +150,6 @@ main() {
173
150
install_rust
174
151
install_tauri_cli
175
152
install_bun
176
- install_node
177
153
install_project_deps
178
154
verify_basic
179
155
0 commit comments