fix: copy internal files recursively
This commit is contained in:
@@ -109,12 +109,11 @@ class DirectoryUtils {
|
||||
}
|
||||
|
||||
if (Platform.isLinux && await oldDataDir.exists()) {
|
||||
// execute shell command to recursively copy old data dir to new data dir
|
||||
final result = await Process.run(
|
||||
"cp",
|
||||
[
|
||||
"-r",
|
||||
oldDataDir.path,
|
||||
"${oldDataDir.path}/*",
|
||||
newDataDir.path,
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user