Skip to content

Commit 67382cd

Browse files
committed
pref: readme
1 parent d726011 commit 67382cd

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

README.md

+16-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,23 @@
99

1010
2. **下载和编译程序**
1111
- 下载项目代码并使用以下命令编译:
12-
12+
13+
Windows:
14+
15+
```bash
16+
GOOS=windows GOARCH=amd64 go build -o image-compressor.exe
17+
```
18+
19+
Linux:
20+
21+
```bash
22+
GOOS=linux GOARCH=amd64 go build -o image-compressor
23+
```
24+
25+
Mac:
26+
1327
```bash
14-
go build -o image-compressor
28+
GOOS=darwin GOARCH=amd64 go build -o image-compressor
1529
```
1630

1731
3. **运行程序**

0 commit comments

Comments
 (0)