@@ -50,8 +50,8 @@ readdirSync(".")
|
|||||||
await sendFile(modPyPath, readFileSync(`${modName}.mpy`).buffer);
|
await sendFile(modPyPath, readFileSync(`${modName}.mpy`).buffer);
|
||||||
|
|
||||||
// Update urls
|
// Update urls
|
||||||
packageJsonUrls.push([`${libName}/${modInitPath}`, modInitPath]);
|
packageJsonUrls.push([`${libName}/${modInitPath}`, "__init__.mpy"]);
|
||||||
packageJsonUrls.push([`${libName}/${modPyPath}`, modPyPath]);
|
packageJsonUrls.push([`${libName}/${modPyPath}`, `${modName}.mpy`]);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Add package.json to repo
|
// Add package.json to repo
|
||||||
|
|||||||
Reference in New Issue
Block a user