mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-30 16:29:30 +01:00
refactor(windows): Fix code style
Took 3 minutes
This commit is contained in:
parent
986c03e45f
commit
986c357a6b
@ -77,9 +77,9 @@ Future<Database> constructDb(
|
|||||||
}
|
}
|
||||||
|
|
||||||
DynamicLibrary _openOnWindows() {
|
DynamicLibrary _openOnWindows() {
|
||||||
final exe_path = File(
|
final exePath =
|
||||||
Platform.resolvedExecutable.replaceAll(RegExp(r'fluffychat.exe'), ''));
|
File(Platform.resolvedExecutable.replaceAll('fluffychat.exe', ''));
|
||||||
final libraryNextToScript = File('${exe_path.path}/sqlite3.dll');
|
final libraryNextToScript = File('${exePath.path}/sqlite3.dll');
|
||||||
return DynamicLibrary.open(libraryNextToScript.path);
|
return DynamicLibrary.open(libraryNextToScript.path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user