refactor(windows): Fix code style
Took 3 minutes
This commit is contained in:
parent
488fdfef2c
commit
8c9b7f877f
1 changed files with 3 additions and 3 deletions
|
|
@ -77,9 +77,9 @@ Future<Database> constructDb(
|
|||
}
|
||||
|
||||
DynamicLibrary _openOnWindows() {
|
||||
final exe_path = File(
|
||||
Platform.resolvedExecutable.replaceAll(RegExp(r'fluffychat.exe'), ''));
|
||||
final libraryNextToScript = File('${exe_path.path}/sqlite3.dll');
|
||||
final exePath =
|
||||
File(Platform.resolvedExecutable.replaceAll('fluffychat.exe', ''));
|
||||
final libraryNextToScript = File('${exePath.path}/sqlite3.dll');
|
||||
return DynamicLibrary.open(libraryNextToScript.path);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue