11 lines
338 B
JavaScript
11 lines
338 B
JavaScript
const { join } = require("./centralPath")
|
|
const { homedir } = require("os")
|
|
const env = require("../environment")
|
|
const { budibaseTempDir } = require("@budibase/auth").objectStore
|
|
|
|
module.exports.budibaseAppsDir = function () {
|
|
return env.BUDIBASE_DIR || join(homedir(), ".budibase")
|
|
}
|
|
|
|
module.exports.budibaseTempDir = budibaseTempDir
|