This commit is contained in:
Daniel Hougaard
2024-07-06 01:32:18 +02:00
parent bafc6ee129
commit 49248ee13f
5 changed files with 67 additions and 6 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import { zpStr } from "../zod";
export const GITLAB_URL = "https://gitlab.com";
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any -- If `process.pkg` is set, and it's true, then it means that the app is currently running in a packaged environment (a binary)
export const IS_PACKAGED = (process as any)?.pkg === true;
export const IS_PACKAGED = (process as any)?.pkg !== undefined;
const zodStrBool = z
.enum(["true", "false"])