@@ -52,31 +52,36 @@ cd openleetcode
52
52
``` bash
53
53
git clone https://github.com/mbucko/openleetcode
54
54
cd openleetcode
55
- .\ i nstall.sh --prefix=./install
55
+ ./ install.sh --prefix=./install
56
56
```
57
57
#### Building with UI
58
58
``` bash
59
59
git clone https://github.com/mbucko/openleetcode
60
60
cd openleetcode
61
- .\ i nstall.sh --prefix=./install --enable_ui
61
+ ./ install.sh --prefix=./install --enable_ui
62
62
```
63
63
## Run
64
64
### Windows
65
65
#### CLI
66
66
``` cmd
67
- ./problem_builds/openleetcode --language cpp --problem TwoSum
67
+ dir install/OpenLeetCode
68
+ ./openleetcode --language cpp --problem TwoSum
68
69
```
69
70
#### UI
70
71
``` bash
71
- ./problem_builds/openleetcodeui
72
+ dir install/OpenLeetCode
73
+ ./openleetcodeui
72
74
```
75
+ ### Unix
73
76
#### CLI
74
77
``` bash
75
- ./problem_builds/openleetcode.sh --language cpp --problem TwoSum
78
+ cd install/OpenLeetCode
79
+ ./openleetcode.sh --language cpp --problem TwoSum
76
80
```
77
81
#### UI
78
82
``` bash
79
- ./problem_builds/openleetcodeui.sh
83
+ cd install/OpenLeetCode
84
+ ./openleetcodeui.sh
80
85
```
81
86
NOTE: UI for unix is yet to be tested.
82
87
0 commit comments