@@ -30,22 +30,22 @@ Usage:
30
30
Choose the installation method. Defaults to detect.
31
31
- detect detects the system package manager and tries to use it.
32
32
Full reference on the process is further below.
33
- - archive installs a static release archive into ~/.local
33
+ - archive installs a binary release archive into ~/.local
34
34
Add ~/.local/bin to your \$ PATH to use it.
35
35
--prefix <dir>
36
- Sets the prefix used by static release archives. Defaults to ~/.local
36
+ Sets the prefix used by binary release archives. Defaults to ~/.local
37
37
The release is unarchived into ~/.local/lib/code-server-X.X.X
38
38
and the binary symlinked into ~/.local/bin/code-server
39
39
To install system wide pass ---prefix=/usr/local
40
40
41
41
- For Debian, Ubuntu and Raspbian it will install the latest deb package.
42
42
- For Fedora, CentOS, RHEL and openSUSE it will install the latest rpm package.
43
43
- For Arch Linux it will install the AUR package.
44
- - For any unrecognized Linux operating system it will install the latest static
44
+ - For any unrecognized Linux operating system it will install the latest binary
45
45
release into ~/.local
46
46
47
47
- For macOS it will install the Homebrew package.
48
- - If Homebrew is not installed it will install the latest static release
48
+ - If Homebrew is not installed it will install the latest binary release
49
49
into ~/.local
50
50
51
51
- If ran on an architecture with no binary releases, it will install the
@@ -65,10 +65,10 @@ echo_latest_version() {
65
65
echo " $version "
66
66
}
67
67
68
- echo_static_postinstall () {
68
+ echo_archive_postinstall () {
69
69
echo
70
70
cat << EOF
71
- Static release has been installed into $ARCHIVE_INSTALL_PREFIX /lib/code-server-$VERSION
71
+ Binary release has been installed into $ARCHIVE_INSTALL_PREFIX /lib/code-server-$VERSION
72
72
Please extend your path to use code-server:
73
73
PATH="$ARCHIVE_INSTALL_PREFIX /bin:\$ PATH"
74
74
Then you can run:
@@ -158,7 +158,7 @@ main() {
158
158
ARCH=" $( arch) "
159
159
if [ ! " $ARCH " ]; then
160
160
if [ " $METHOD " = archive ]; then
161
- echoerr " No static releases available for the architecture $( uname -m) ."
161
+ echoerr " No binary releases available for the architecture $( uname -m) ."
162
162
echoerr ' Please rerun without the "--method archive" flag to install from npm.'
163
163
exit 1
164
164
fi
@@ -304,7 +304,7 @@ install_aur() {
304
304
}
305
305
306
306
install_archive () {
307
- echo " Installing static release v$VERSION "
307
+ echo " Installing binary release archive v$VERSION "
308
308
echo
309
309
310
310
fetch " https://github.com/cdr/code-server/releases/download/v$VERSION /code-server-$VERSION -$OS -$ARCH .tar.gz" \
@@ -327,7 +327,7 @@ install_archive() {
327
327
" $sh_c " mv -f " $ARCHIVE_INSTALL_PREFIX /lib/code-server-$VERSION -$OS -$ARCH " " $ARCHIVE_INSTALL_PREFIX /lib/code-server-$VERSION "
328
328
" $sh_c " ln -fs " $ARCHIVE_INSTALL_PREFIX /lib/code-server-$VERSION /bin/code-server" " $ARCHIVE_INSTALL_PREFIX /bin/code-server"
329
329
330
- echo_static_postinstall
330
+ echo_archive_postinstall
331
331
}
332
332
333
333
install_npm () {
0 commit comments