fix picodat file path

This commit is contained in:
dylan 2024-03-31 14:08:48 -07:00
parent b12ec78941
commit 7395ed4677
4 changed files with 4 additions and 2 deletions

View File

@ -9,6 +9,8 @@ RUN apk add --update python3 py3-pip
RUN python3 -m ensurepip
RUN pip3 install --no-cache --upgrade pip setuptools
COPY ./data ./data
# Copies stuff to cache for install
COPY ./package.json ./package-lock.json tsconfig.json ./

View File

@ -9,7 +9,7 @@ const outputDirPath = path.resolve(__dirname, "..", "..", "..", "output");
const getRom = async (inputFile: string) => {
const uuid = randomUUID();
const dir = path.join(outputDirPath, uuid);
const outputFile = path.join(dir, inputFile+".js");
const outputFile = path.join(dir, "output.js");
await shrinko8({
inputFile,

View File

@ -6,7 +6,7 @@ const __dirname = fileURLToPath(new URL('.', import.meta.url));
const shrinko8DirPath = path.resolve(__dirname, "../shrinko8");
const shrinko8Path = path.resolve(shrinko8DirPath, "shrinko8.py");
const pico8DatPath = path.resolve(__dirname, "../../pico8.dat");
const pico8DatPath = path.resolve(__dirname, "../../../data/pico8.dat");
export const shrinko8 = async (props: {
inputFile: string;