v0.6.1 β upgrade actually updates moshcode π€
πΈ moshcode v0.6.1 β upgrade now really updates moshcode
moshcode upgrade / update always tried to self-update in addition to engines, but it reinstalled to the default ~/.moshcode. If your moshcode lived anywhere else, the reinstall went to a different directory and the moshcode on your PATH never changed.
Fixed:
- Targets the actual running install β the self-upgrade now points the installer at the exact dir moshcode runs from (resolved from
import.meta.url), so that copy updates. - Reports the version change β
moshcode 0.6.0 β 0.6.1 β restart to load it, oralready at X. - Git-checkout safe β if you run moshcode from a git clone, it skips the destructive reinstall and tells you to
git pullinstead of wiping your working tree.
Engines are unchanged; self runs in addition to them on a bare moshcode upgrade.