@oh-my-pi/pi-utils 13.12.0 → 13.12.4

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/dirs.ts +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-utils",
4
- "version": "13.12.0",
4
+ "version": "13.12.4",
5
5
  "description": "Shared utilities for pi packages",
6
6
  "homepage": "https://github.com/can1357/oh-my-pi",
7
7
  "author": "Can Boluk",
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) {