Remove mode and improve profiles

This commit is contained in:
2021-06-20 14:09:30 +02:00
parent d96e27f3f3
commit 0103df5ca9
6 changed files with 35 additions and 32 deletions
+2 -3
View File
@@ -1,6 +1,5 @@
import os
import args
import modes
const APP_NAME = "bwsandbox"
@@ -17,8 +16,8 @@ proc getProfilePath*(profile: string): string =
.joinPath(APP_NAME)
.joinPath(profile)
proc getProfilePath*(args: Args, mode: Modes): string =
getProfilePath(args.getProfile(mode))
proc getProfilePath*(args: Args): string =
getProfilePath(args.getProfile())
proc getSandboxPath*(name: string): string =
getDataDir()