fix picodat file path
This commit is contained in:
parent
b12ec78941
commit
7395ed4677
@ -9,6 +9,8 @@ RUN apk add --update python3 py3-pip
|
|||||||
RUN python3 -m ensurepip
|
RUN python3 -m ensurepip
|
||||||
RUN pip3 install --no-cache --upgrade pip setuptools
|
RUN pip3 install --no-cache --upgrade pip setuptools
|
||||||
|
|
||||||
|
COPY ./data ./data
|
||||||
|
|
||||||
# Copies stuff to cache for install
|
# Copies stuff to cache for install
|
||||||
COPY ./package.json ./package-lock.json tsconfig.json ./
|
COPY ./package.json ./package-lock.json tsconfig.json ./
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const outputDirPath = path.resolve(__dirname, "..", "..", "..", "output");
|
|||||||
const getRom = async (inputFile: string) => {
|
const getRom = async (inputFile: string) => {
|
||||||
const uuid = randomUUID();
|
const uuid = randomUUID();
|
||||||
const dir = path.join(outputDirPath, uuid);
|
const dir = path.join(outputDirPath, uuid);
|
||||||
const outputFile = path.join(dir, inputFile+".js");
|
const outputFile = path.join(dir, "output.js");
|
||||||
|
|
||||||
await shrinko8({
|
await shrinko8({
|
||||||
inputFile,
|
inputFile,
|
||||||
|
@ -6,7 +6,7 @@ const __dirname = fileURLToPath(new URL('.', import.meta.url));
|
|||||||
|
|
||||||
const shrinko8DirPath = path.resolve(__dirname, "../shrinko8");
|
const shrinko8DirPath = path.resolve(__dirname, "../shrinko8");
|
||||||
const shrinko8Path = path.resolve(shrinko8DirPath, "shrinko8.py");
|
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: {
|
export const shrinko8 = async (props: {
|
||||||
inputFile: string;
|
inputFile: string;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user