Skip to content

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.

205 B
Raw Blame
import { z } from 'zod'
import path from 'path'

const Path = z
  .string()
  .refine((val) => path.parse(val).root, 'Path is not valid')
  .brand('Path')
type Path = z.infer<typeof Path>

export { Path }