Skip to content

Commit db87258

Browse files
committed
add windows installation instructions
1 parent 6cfbe0d commit db87258

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,11 @@ Getting started
4141
---------------
4242
To try out the demo code in this repository, follow these steps:
4343

44-
1. Install [objectbox-c](https://github.com/objectbox/objectbox-c) system-wide:
45-
`bash <(curl -s https://raw.githubusercontent.com/objectbox/objectbox-c/master/download.sh) 0.7` (answer Y when it asks about installing to /usr/lib).
44+
1. Install [objectbox-c](https://github.com/objectbox/objectbox-c) system-wide:
45+
* macOS/Linux: `bash <(curl -s https://raw.githubusercontent.com/objectbox/objectbox-c/master/download.sh) 0.7` (answer Y when it asks about installing to /usr/lib).
46+
* Windows:
47+
* use "Git Bash" or similar to execute `bash <(curl -s https://raw.githubusercontent.com/objectbox/objectbox-c/master/download.sh) 0.7`
48+
* copy the downloaded `lib/objectbox.dll` to `C:\Windows\System32\` (requires admin privileges)
4649
2. Back in this repository, run `pub get`.
4750
3. Execute `pub run build_runner build`. This regenerates the ObjectBox model to make it usable in Dart
4851
(i.e. the file `test/test.g.dart`) and is necessary each time you add or change a class annotated with `@Entity(...)`.

0 commit comments

Comments
 (0)