Skip to content

Commit 66e3711

Browse files
committedDec 10, 2024
Simplified installation steps for Windows users.
1 parent a8676dc commit 66e3711

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed
 

‎README.md

+6-16
Original file line numberDiff line numberDiff line change
@@ -74,28 +74,18 @@ Additionally, Windows users need to have installed Git Bash to run this script.
7474

7575
4. Enter `sudo make install`, which will install to "/usr/local/bin". You can specify your path with variable PREFIX, for example `make install PREFIX=$HOME/.local`, which will copy script to "$HOME/.local/bin". Alternatively manually place script to your path, which is readable by shell (PATH environment variable), and change script's permissions to be executable: `chmod 755 [path to srb2srv script]`,
7676

77-
5. Set other environment variables from "Configuration" section of README.
77+
5. Set environment variables from "Configuration" section of README.
7878

7979
**Windows:**
8080
1. Open Git Bash,
8181

82-
2. Go to your user directory (usually "C:/Users/[your username]"): `cd ~`,
83-
84-
3. Enter `git clone https://github.com/Bijman/srb2srv`,
85-
86-
4. Create directory "bin" with command: `mkdir ~/bin`,
87-
88-
5. Copy script to "~/bin": `cp ~/srb2srv/srb2srv ~/bin`,
89-
90-
6. Change script's permissions to be executable: `chmod 755 ~/bin/srb2srv`,
91-
92-
7. Open text editor for "~/.bash_profile": `nano ~/.bash_profile`,
82+
2. Enter `git clone https://github.com/Bijman/srb2srv`,
9383

94-
8. In opened text editor from previous step write new path to executables with environment variable PATH like `export PATH="~/bin:$PATH"` in "~/.bash_profile",
84+
3. Go to downloaded directory: `cd srb2srv`,
9585

96-
9. Enter `source ~/.bash_profile` or restart Git Bash.
86+
4. Enter `install -Dm755 srb2srv -t /usr/local/bin`,
9787

98-
10. Set other environment variables from "Configuration" section of README.
88+
5. Set environment variables from "Configuration" section of README.
9989

10090
**macOS:**
10191
1. Open terminal,
@@ -106,7 +96,7 @@ Additionally, Windows users need to have installed Git Bash to run this script.
10696

10797
4. Enter `sudo make install`, which will install to "/usr/local/bin". You can specify your path with variable PREFIX, for example `make install PREFIX=$HOME/.local`, which will copy script to "$HOME/.local/bin". Alternatively manually place script to your path, which is readable by shell (PATH environment variable), and change script's permissions to be executable: `chmod 755 [path to srb2srv script]`,
10898

109-
5. Set other environment variables from "Configuration" section of README.
99+
5. Set environment variables from "Configuration" section of README.
110100

111101
# Configuration
112102
**If you want to connect to server or start your own server in SRB2:**

0 commit comments

Comments
 (0)
Please sign in to comment.