We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6d463e commit e82c07cCopy full SHA for e82c07c
src/cache.mjs
@@ -2,7 +2,8 @@ import { existsSync } from "node:fs";
2
import { readFile, writeFile } from "node:fs/promises";
3
4
const isDocker = existsSync("/.dockerenv");
5
-const CACHE_FILE = isDocker ? "/var/cache/steam-update-dispatcher" : "config/cache.json";
+const isPodman = existsSync("/run/.containerenv");
6
+const CACHE_FILE = isDocker || isPodman ? "/var/cache/steam-update-dispatcher" : "config/cache.json";
7
8
export default class Cache {
9
constructor() {
0 commit comments