windows app dir

This commit is contained in:
shillo 2022-12-22 16:57:52 -06:00
parent 6740d9f01f
commit 1f51602406

View file

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