mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
28 lines
531 B
TypeScript
28 lines
531 B
TypeScript
export type IInstallerType = "pkg" | "msi" | "rpm" | "deb";
|
|
|
|
export type IInstallerPlatform =
|
|
| "Windows"
|
|
| "macOS"
|
|
| "Linux (RPM)"
|
|
| "Linux (deb)";
|
|
|
|
export const INSTALLER_TYPE_BY_PLATFORM: Record<
|
|
IInstallerPlatform,
|
|
IInstallerType
|
|
> = {
|
|
macOS: "pkg",
|
|
Windows: "msi",
|
|
"Linux (RPM)": "rpm",
|
|
"Linux (deb)": "deb",
|
|
} as const;
|
|
|
|
export const INSTALLER_PLATFORM_BY_TYPE: Record<
|
|
IInstallerType,
|
|
IInstallerPlatform
|
|
> = {
|
|
pkg: "macOS",
|
|
msi: "Windows",
|
|
rpm: "Linux (RPM)",
|
|
deb: "Linux (deb)",
|
|
} as const;
|