HeyPuter / phoenix

🔥 Puter's pure-javascript shell
https://puter.com/app/terminal
GNU Affero General Public License v3.0
87 stars 15 forks source link

Fix a couple of issues with the web build, caused by CLI changes #81

Closed AtkinsSJ closed 2 months ago

AtkinsSJ commented 2 months ago

Avoid including PathCommandProvider and its dependencies in the web build, because they're useless there, and they try to include some binary files that make rollup upset.

Also redo the changes originally in #79 because we can read ctx.platform.name in most places, and that makes the check clearer.