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
read -r -p "Would you like to install the plugin? " install_plugin
7
-
8
-
if [[ "$install_plugin"=~ ^([yY][eE][sS]|[yY])+$ ]]
9
-
then
10
-
echo"Please enter the location to install the plugin file."
11
-
read plugin_path
12
-
13
-
until [ -d"$plugin_path" ];do
14
-
echo"The entered path does not exist. Please enter a different path."
15
-
read plugin_path
16
-
done
17
-
18
-
cp -i "$PLUGIN_NAME""$plugin_path"
19
-
else
20
-
echo"The plugin will not be installed"
21
-
fi
22
-
23
-
read -r -p "Would you like to install standalone application? " install_standalone
24
-
25
-
if [[ "$install_standalone"=~ ^([yY][eE][sS]|[yY])+$ ]]
26
-
then
27
-
echo"Please enter the location to install the standalone version."
28
-
read standalone_path
29
-
30
-
until [ -d"$standalone_path" ];do
31
-
echo"The entered path does not exist. Please enter a different path."
32
-
read standalone_path
33
-
done
34
-
35
-
cp -i "$STANDALONE_NAME""$standalone_path"
36
-
cp -i "License.txt""$standalone_path"
37
-
else
38
-
echo"The standalone application will not be installed"
39
-
fi
40
-
41
-
echo"The software installation is complete. Please launch the plugin or standalone version and click Install Samples when prompted to install the instrument samples."
1
+
#!/bin/bash
2
+
3
+
PLUGIN_NAME="Sofia Woodwinds.so"
4
+
STANDALONE_NAME="Sofia Woodwinds"
5
+
6
+
read -r -p "Would you like to install the plugin? " install_plugin
7
+
8
+
if [[ "$install_plugin"=~ ^([yY][eE][sS]|[yY])+$ ]]
9
+
then
10
+
echo"Please enter the location to install the plugin file."
11
+
read plugin_path
12
+
13
+
until [ -d"$plugin_path" ];do
14
+
echo"The entered path does not exist. Please enter a different path."
15
+
read plugin_path
16
+
done
17
+
18
+
cp -i "$PLUGIN_NAME""$plugin_path"
19
+
else
20
+
echo"The plugin will not be installed"
21
+
fi
22
+
23
+
read -r -p "Would you like to install standalone application? " install_standalone
24
+
25
+
if [[ "$install_standalone"=~ ^([yY][eE][sS]|[yY])+$ ]]
26
+
then
27
+
echo"Please enter the location to install the standalone version."
28
+
read standalone_path
29
+
30
+
until [ -d"$standalone_path" ];do
31
+
echo"The entered path does not exist. Please enter a different path."
32
+
read standalone_path
33
+
done
34
+
35
+
cp -i "$STANDALONE_NAME""$standalone_path"
36
+
cp -i "License.txt""$standalone_path"
37
+
else
38
+
echo"The standalone application will not be installed"
39
+
fi
40
+
41
+
echo"The software installation is complete. Please launch the plugin or standalone version and click Install Samples when prompted to install the instrument samples."
0 commit comments