Skip to content

Commit 061eda1

Browse files
Merge pull request #16 from cypherstack/build/windows
Build/windows
2 parents 0699514 + 9df52ac commit 061eda1

3 files changed

Lines changed: 115 additions & 116 deletions

File tree

cw_core/lib/pathForWallet.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ Future<Directory> applicationRootDirectory() async {
4141
} else if (Platform.isLinux) {
4242
appDirectory = Directory("${Platform.environment['HOME']}/.stackwallet");
4343
} else if (Platform.isWindows) {
44-
// TODO: windows root .stackwallet dir location
45-
throw Exception("Unsupported platform");
44+
appDirectory = await getApplicationSupportDirectory();
4645
} else if (Platform.isMacOS) {
4746
// currently run in ipad mode??
4847
throw Exception("Unsupported platform");

0 commit comments

Comments
 (0)