mirror of https://github.com/AMT-Cheif/drift.git
Update platforms.md
This commit is contained in:
parent
1cca22bc56
commit
7891767784
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue