Remove mode and improve profiles
This commit is contained in:
+2
-3
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user