Skip to content

Commit e95a5f2

Browse files
Clearly separated compile instructions per OS.
1 parent 8df4a18 commit e95a5f2

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

README.md

+22-6
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,34 @@ Currently [cargo bundle](https://github.com/burtonageo/cargo-bundle) only suppor
3131
bundles [see github issue](https://github.com/burtonageo/cargo-bundle/issues/77).
3232
As a work-around we can use [cargo wix](https://github.com/volks73/cargo-wix) to create a windows installer.
3333

34-
On Linux first install the following:
34+
#### Ubuntu
35+
36+
```sh
37+
sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev
38+
cargo install cargo-bundle
39+
cargo bundle
40+
```
41+
#### Debian
3542

3643
```sh
3744
sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev libudev-dev
45+
cargo install cargo-bundle
46+
cargo bundle
3847
```
3948

40-
After downloading
41-
```cargo install cargo-bundle``` on linux and macOS or ```cargo install cargo-wix``` on windows
42-
run
43-
```cargo bundle``` on linux and macOS or ```cargo wix``` on windows to create platform-executable bundles.
49+
#### macOS
4450

45-
It can be compiled and run on all platforms.
51+
```sh
52+
cargo install cargo-bundle
53+
cargo bundle
54+
```
55+
56+
#### Windows
57+
58+
```sh
59+
cargo install cargo-wix
60+
cargo wix
61+
```
4662

4763
## Features:
4864

0 commit comments

Comments
 (0)