We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b52025 commit 5b5598aCopy full SHA for 5b5598a
config.mjs
@@ -27,7 +27,11 @@ export default class Config {
27
constructor() {
28
29
// Set the config file path to the appData directory
30
- this.configPath = path.join(process.env.APPDATA ?? process.env.HOME, "config.yml");
+ const basePath = process.env.APPDATA ||
31
+ (process.platform === 'darwin' ? process.env.HOME + '/Library/Preferences':
32
+ process.env.HOME +'/.local/share');
33
+ this.configPath = path.join(basePath, ".fvttrc.yml");
34
+ console.log(this.configPath);
35
36
// Ensure the config file exists
37
if (!fs.existsSync(this.configPath)) {
0 commit comments