From 0faad8af9245948b843d3824fcd02f3b363c13a6 Mon Sep 17 00:00:00 2001 From: scarf Date: Wed, 13 Mar 2024 13:06:50 +0900 Subject: [PATCH] build: fix script root path --- paths.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/paths.ts b/paths.ts index f28d777..c276291 100644 --- a/paths.ts +++ b/paths.ts @@ -1,11 +1,6 @@ import { resolve } from "$std/path/mod.ts" -import { fromFileUrl } from "$std/path/mod.ts" -import { dirname } from "$std/path/dirname.ts" -import { c, p } from "https://deno.land/x/copb@v1.0.1/mod.ts" - -export const scripts = c(p(fromFileUrl)(dirname))(import.meta.url) -export const root = resolve(scripts, "..") +export const root = import.meta.dirname! export const jar = resolve(root, "build", "libs", "MarisaContinued.jar") export const image = resolve("docs", "thumbnail", "image.jpg")