pinokiod 3.2.150 → 3.2.152
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kernel/bin/py.js +2 -1
- package/package.json +1 -1
- package/server/views/app.ejs +761 -755
package/kernel/bin/py.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
const fse = require('fs-extra')
|
|
1
2
|
class Py {
|
|
2
3
|
async install(req, ondata) {
|
|
3
|
-
await
|
|
4
|
+
await fse.remove(this.kernel.path('bin/py'))
|
|
4
5
|
await this.kernel.exec({
|
|
5
6
|
message: "git clone https://github.com/pinokiocomputer/python py",
|
|
6
7
|
path: this.kernel.path("bin")
|