feat: home dir in app info
This commit is contained in:
@@ -15,6 +15,7 @@ export namespace App {
|
||||
hostname: z.string(),
|
||||
git: z.boolean(),
|
||||
path: z.object({
|
||||
home: z.string(),
|
||||
config: z.string(),
|
||||
data: z.string(),
|
||||
root: z.string(),
|
||||
@@ -75,6 +76,7 @@ export namespace App {
|
||||
},
|
||||
git: git !== undefined,
|
||||
path: {
|
||||
home: os.homedir(),
|
||||
config: Global.Path.config,
|
||||
state: Global.Path.state,
|
||||
data,
|
||||
|
||||
Reference in New Issue
Block a user