Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 608dd30

Browse files
committed
Fix REAMDE instructions for unix.
1 parent 68771fc commit 608dd30

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

‎README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,31 +52,36 @@ cd openleetcode
5252
```bash
5353
git clone https://github.com/mbucko/openleetcode
5454
cd openleetcode
55-
.\install.sh --prefix=./install
55+
./install.sh --prefix=./install
5656
```
5757
#### Building with UI
5858
```bash
5959
git clone https://github.com/mbucko/openleetcode
6060
cd openleetcode
61-
.\install.sh --prefix=./install --enable_ui
61+
./install.sh --prefix=./install --enable_ui
6262
```
6363
## Run
6464
### Windows
6565
#### CLI
6666
```cmd
67-
./problem_builds/openleetcode --language cpp --problem TwoSum
67+
dir install/OpenLeetCode
68+
./openleetcode --language cpp --problem TwoSum
6869
```
6970
#### UI
7071
```bash
71-
./problem_builds/openleetcodeui
72+
dir install/OpenLeetCode
73+
./openleetcodeui
7274
```
75+
### Unix
7376
#### CLI
7477
```bash
75-
./problem_builds/openleetcode.sh --language cpp --problem TwoSum
78+
cd install/OpenLeetCode
79+
./openleetcode.sh --language cpp --problem TwoSum
7680
```
7781
#### UI
7882
```bash
79-
./problem_builds/openleetcodeui.sh
83+
cd install/OpenLeetCode
84+
./openleetcodeui.sh
8085
```
8186
NOTE: UI for unix is yet to be tested.
8287

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /