Skip to content

Commit

Permalink
Update platforms.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Milvintsiss committed Nov 26, 2020
1 parent 1cca22b commit 7891767
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/en/docs/platforms.md
Expand Up @@ -100,10 +100,10 @@ void main() {
DynamicLibrary _openOnLinux() {
final script = File(Platform.script.toFilePath());
final libraryNextToScript = File('${script.path}/sqlite3.so');
final libraryNextToScript = File('${script.parent.path}/sqlite3.so');
return DynamicLibrary.open(libraryNextToScript.path);
}
// _openOnWindows could be implemented similarly by opening `sqlite3.dll`
```

Be sure to use moor _after_ you set the platform-specific overrides.
Be sure to use moor _after_ you set the platform-specific overrides.

0 comments on commit 7891767

Please sign in to comment.