Skip to content

Commit d1394f2

Browse files
committed
Few clean-ups
- Install readme only on windows - Clarify instructions in README Signed-off-by: Shashank Verma <[email protected]>
1 parent 481057d commit d1394f2

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,7 @@ target_include_directories(XORCryptorCLI PUBLIC XRC)
3535
target_link_directories(XORCryptorCLI PRIVATE XRC)
3636
target_link_libraries(XORCryptorCLI XORCryptorLib)
3737

38-
install(TARGETS XORCryptorCLI DESTINATION .)
39-
install(FILES README.md DESTINATION .)
38+
install(TARGETS XORCryptorCLI DESTINATION bin)
39+
if(WIN32)
40+
install(FILES README.md DESTINATION .)
41+
endif()

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Encrypts or decrypts the text or file using XOR bitwise operation.
44

5-
[About info.](About.md)
5+
[About algorithm](About.md)
66

77
### CLI
88

@@ -21,15 +21,18 @@ git submodule update
2121

2222
#### Windows
2323

24-
- Make sure have MSVC 2022 installed for compilation
24+
- Make sure to have MSVC 2022 installed for compilation
2525
- Run `install.bat` as administrator
26-
- Add `C:\Program Files\XORCryptorCLI\` to environment variables
26+
- Add `C:\Program Files\XORCryptorCLI\bin` to environment variables
2727

2828
#### Linux
29+
2930
- Make sure you have `gcc g++ make cmake ninja-build`
31+
- Give executable permission by `chmod +x install.sh`
3032
- Run `sudo ./install.sh`
3133

3234
## Usage
35+
3336
<details>
3437
<summary>Click to expand</summary>
3538

@@ -113,6 +116,7 @@ random_folder random_folder
113116
| |- v.mp4 | |- v.mp4.xrc
114117
|- file.ext |- file.ext.xrc
115118
```
119+
116120
</details>
117121

118122
### NOTE !

install.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)