mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-01-08 11:49:10 +00:00
12 lines
378 B
TypeScript
12 lines
378 B
TypeScript
import * as path from "jsr:@std/path";
|
|
import { ensureDir } from "jsr:@std/fs";
|
|
import home_dir from "https://deno.land/x/dir@1.5.2/home_dir/mod.ts";
|
|
|
|
export const BASE_PATH = path.join(home_dir()!, ".lune", "versions");
|
|
await ensureDir(BASE_PATH);
|
|
|
|
export default {
|
|
name: "lune",
|
|
version: "0.8.9",
|
|
api_url: "https://api.github.com/repos/lune-org/lune/releases",
|
|
} as const;
|