edit icon indicating copy to clipboard operation
edit copied to clipboard

Add macOS release artifacts

Open nikolay opened this issue 7 months ago • 6 comments

Currently, there are no macOS binaries in the GitHub releases.

nikolay avatar May 21 '25 18:05 nikolay

Because Edit currently don't build on macOS.

regismesquita have at issue https://github.com/microsoft/edit/issues/124 written, that he have made some changes, so that it works on macOS. But I am not sure, if was merged to the official repo.

theuserbl avatar May 21 '25 18:05 theuserbl

The latest commit resolve the Mac build issue. I have been able to compile is successfully on MacBook M1 Pro running sequoia 15.5.

Rust version is 1.87

Needed to add nightly build.

rustup component add rust-src --toolchain nightly-aarch64-apple-darwin

I have uploaded the Mac and Linux binaries generated today. Please use with caution as these are not official binaries and test in a sandbox.

https://github.com/ket000/edit/releases/tag/1.0

ket000 avatar May 21 '25 18:05 ket000

Thanks @ket000 . I tried your Linux binary. But I don't find any difference to the official Linux binary. The bug at the end in the "Unsaved Changes" dialog, that the Tab-key and cursor-keys have no effect, is still there.

theuserbl avatar May 21 '25 19:05 theuserbl

The Linux binary is for the system like Red Hat Linux and Oracle Linux (Most companies use it) that has older version of GLIBC. Official binary uses higher version of GLIBC and will not run on Red Hat 8 or Oracle Linux 8.

ket000 avatar May 21 '25 19:05 ket000

The bug at the end in the "Unsaved Changes" dialog, that the Tab-key and cursor-keys have no effect, is still there.

See #36

lhecker avatar May 21 '25 21:05 lhecker

Edit now builds on MacOS, but there are some rough edges (colors, no Alt key, etc.)

raff avatar Jun 17 '25 18:06 raff