File tree 2 files changed +16
-8
lines changed
2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 2
2
.SILENT :
3
3
4
4
setup-arm64 :
5
- sudo mv ./build/bin/cleansys-arm64 /usr/local/bin/cleansys
5
+ sudo mkdir -p /usr/local/bin \
6
+ && sudo mv ./build/bin/cleansys-arm64 /usr/local/bin/cleansys
6
7
7
8
setup-amd64 :
8
- sudo mv ./build/bin/cleansys-amd64 /usr/local/bin/cleansys
9
+ sudo mkdir -p /usr/local/bin \
10
+ && sudo mv ./build/bin/cleansys-amd64 /usr/local/bin/cleansys
9
11
10
12
build-arm64 :
11
13
GOOS=darwin GOARCH=arm64 go build -o ./build/bin/cleansys-arm64 main.go
Original file line number Diff line number Diff line change 1
1
# Cleansys [ ![ Go] ( https://img.shields.io/badge/go-1.17-blue )] ( https://golang.org/doc/go1.17 ) [ ![ Release] ( https://img.shields.io/badge/release-1.0.0-success )] ( https://github.com/Lapp-coder/cleansys/releases )
2
2
![ image] ( images/cleansys.png )
3
3
***
4
- ## Install
5
- * ```
4
+ ## Installation
5
+ 1 . Clone the repository
6
+ ```
6
7
$ git clone https://github.com/Lapp-coder/cleansys
7
8
```
9
+ 2 . Go to the directory of the utility
10
+ ```
11
+ $ cd cleansys
12
+ ```
13
+ 3 . Execute the make command depending on the architecture of your processor
8
14
* For M1-chip:
9
15
```
10
- $ make setup-arm64
16
+ $ chmod +x build/bin/cleansys-arm64 && make setup-arm64
11
17
```
12
18
* For Intel-chip:
13
19
```
14
- $ make setup-amd64
20
+ $ chmod +x build/bin/cleansys-amd64 && make setup-amd64
15
21
```
16
22
## Usage
17
- ### Just run this command
23
+ Just run this command
18
24
```
19
25
$ cleansys
20
26
```
21
27
22
28
## Configuration
23
- ### The configuration file is located at $HOME/.config/cleansys/config.json
29
+ The configuration file is located at $HOME/.config/cleansys/config.json
You can’t perform that action at this time.
0 commit comments