You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
printf"$red> wasmer was installed, but doesn't seem to be working :($reset\n"
161
161
exit 1;
162
162
)
163
163
164
-
printf"$green> Successfully installed $version!\n\n${reset}If you want to have the command available now please execute:\nsource $HOME/.wasmer/wasmer.sh$reset\n"
164
+
printf"$green> Successfully installed $version!\n\n${reset}If you want to have the command available now please execute:\nsource $INSTALL_DIRECTORY/wasmer.sh$reset\n"
165
165
printf"\nOtherwise, wasmer and wapm will be available the next time you open the terminal.\n"
166
166
echo"Note: during the alpha release of wapm, telemetry is enabled by default; if you would like to opt out, run \`wapm config set telemetry.enabled false\`."
167
167
echo"If you notice anything wrong or have any issues, please file a bug at https://github.com/wasmerio/wapm-cli :)"
@@ -257,7 +257,7 @@ wasmer_install() {
257
257
258
258
"
259
259
fi
260
-
# if [ -d "$HOME/.wasmer" ]; then
260
+
# if [ -d "$INSTALL_DIRECTORY" ]; then
261
261
# if which wasmer; then
262
262
# local latest_url
263
263
# local specified_version
@@ -286,11 +286,11 @@ wasmer_install() {
286
286
# exit 0
287
287
# else
288
288
# printf "$yellow> $wasmer_alt_version is already installed, Specified version: $specified_version.$reset\n"
289
-
# rm -rf "$HOME/.wasmer"
289
+
# rm -rf "$INSTALL_DIRECTORY"
290
290
# fi
291
291
# else
292
-
# printf "$red> $HOME/.wasmer already exists, possibly from a past Wasmer install.$reset\n"
293
-
# printf "$red> Remove it (rm -rf $HOME/.wasmer) and run this script again.$reset\n"
292
+
# printf "$red> $INSTALL_DIRECTORY already exists, possibly from a past Wasmer install.$reset\n"
293
+
# printf "$red> Remove it (rm -rf $INSTALL_DIRECTORY) and run this script again.$reset\n"
0 commit comments