@oh-my-pi/pi-utils 13.12.0 → 13.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/dirs.ts +1 -1
package/package.json
CHANGED
package/src/dirs.ts
CHANGED
|
@@ -106,7 +106,7 @@ class DirResolver {
|
|
|
106
106
|
let xdgData: string | undefined;
|
|
107
107
|
let xdgState: string | undefined;
|
|
108
108
|
let xdgCache: string | undefined;
|
|
109
|
-
if (process.platform === "linux" && isDefault) {
|
|
109
|
+
if ((process.platform === "linux" || process.platform === "darwin") && isDefault) {
|
|
110
110
|
const resolveIf = (envVar: string) => {
|
|
111
111
|
const value = process.env[envVar];
|
|
112
112
|
if (value) {
|