feat: update storage directory path for Windows (#1087)

This commit is contained in:
Levi authored and GitHub committed 2025-08-28 08:44:18 +08:00
1 parent 7ce0d876b0
commit b31b42301e
1 file changed
+2 -1
+2 -1
View File
@@ -54,7 +54,8 @@ class Util {
static Future<void> initStorageDir() async {
var storageDir = "";
if (Util.isWindows()) {
storageDir = File(Platform.resolvedExecutable).parent.path;
storageDir =
path.join(File(Platform.resolvedExecutable).parent.path, "storage");
} else if (!Util.isWeb()) {
if (Util.isLinux()) {
storageDir = File(Platform.resolvedExecutable).parent.path;