Update gitignore (sorry)
Some checks failed
Android Build / publish (push) Successful in 33s
Linux Build / publish (push) Failing after 25s

This commit is contained in:
olcxja 2026-05-10 14:02:17 +02:00
commit cca8b02fea
6604 changed files with 1219661 additions and 4 deletions

View file

@ -0,0 +1,22 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAppCacheDir = void 0;
const path = require("path");
const os_1 = require("os");
function getAppCacheDir() {
const homedir = os_1.homedir();
// https://github.com/electron/electron/issues/1404#issuecomment-194391247
let result;
if (process.platform === "win32") {
result = process.env["LOCALAPPDATA"] || path.join(homedir, "AppData", "Local");
}
else if (process.platform === "darwin") {
result = path.join(homedir, "Library", "Application Support", "Caches");
}
else {
result = process.env["XDG_CACHE_HOME"] || path.join(homedir, ".cache");
}
return result;
}
exports.getAppCacheDir = getAppCacheDir;
//# sourceMappingURL=AppAdapter.js.map