Skip to content

Commit a687db7

Browse files
committed
Updated README.md
Moved C static library generation to Usage section.
1 parent 22bc9ff commit a687db7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Currently, only single file and save dialogs are supported, and the crate has be
66

77
## Usage
88

9+
* Follow the instructions [here](https://github.com/mlabbe/nativefiledialog/blob/master/README.md) to build the libraries in C and an OS-specific language. Then, set the `NFD_LIB_DIR` environment variable to the path of the directory in which the libraries are stored.
10+
911
* Add the dependency `nfd` in your ```Cargo.toml```
1012
```toml
1113
[dependencies]
@@ -34,6 +36,3 @@ Currently, only single file and save dialogs are supported, and the crate has be
3436
## Screenshot
3537

3638
![Cocoa on El Capitan](screenshots/cocoa_el_capitan.png?raw=true)
37-
38-
## To build
39-
Follow the instructions [here](https://github.com/mlabbe/nativefiledialog/blob/master/README.md) to build the libraries in C and an OS-specific language. Then, set the `NFD_LIB_DIR` environment variable to the path of the directory in which the libraries are stored. Now run `cargo build`.

0 commit comments

Comments
 (0)