add windows path

This commit is contained in:
shillo 2022-12-29 10:45:29 -06:00
parent e89b213798
commit cd86085d16

View file

@ -15,8 +15,7 @@ abstract class StackFileSystem {
} else if (Platform.isLinux) {
appDirectory = Directory("${Platform.environment['HOME']}/.stackwallet");
} else if (Platform.isWindows) {
// TODO: windows root .stackwallet dir location
throw Exception("Unsupported platform");
appDirectory = await getApplicationSupportDirectory();
} else if (Platform.isMacOS) {
// currently run in ipad mode??
throw Exception("Unsupported platform");