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