Y2Z / monolith

⬛️ CLI tool for saving complete web pages as a single HTML file
https://crates.io/crates/monolith
Creative Commons Zero v1.0 Universal
11.24k stars 315 forks source link

macOS release binary ? #317

Open chromer030 opened 2 years ago

snshn commented 2 years ago

Moin rmoghadam,

Good question... monolith is on Brew, so I never felt the need for binary releases for macOS...

I suppose I could do it for darwin-x86_64 and darwin-arm64, I'll let you know in this thread if it works out or not — signing those binaries is usually the main problem, macOS has a lot of checks in place to prevent execution of downloaded programs

jmkng commented 1 year ago

+1 on this. Homebrew is great, but I think having binaries available for all platforms, signed or not, is a good idea. Thanks for the tool!

edwinjhlee commented 6 months ago

Moin rmoghadam,

Good question... monolith is on Brew, so I never felt the need for binary releases for macOS...

I suppose I could do it for darwin-x86_64 and darwin-arm64, I'll let you know in this thread if it works out or not — signing those binaries is usually the main problem, macOS has a lot of checks in place to prevent execution of downloaded programs

Greetings! If provided, we can include the binary in the x-cmd package. Refer to https://x-cmd.com/pkg/procs as an example. Procs is a project developed in Rust.

The primary distinction between brew and x-cmd is that x-cmd does not necessitate sudo or root privileges. Instead, x-cmd employs pkg as a portable binary. Consequently, we would be grateful if the monolith community could supply a portable binary.

I think If we download the binary using curl or wget, there is no signing issue.

snshn commented 6 months ago

That's pretty neat, seems like a very interesting project.

I think you might be right, the browser marks those files as "downloaded from the Internet" on the filesystem level, so if something is compiled or downloaded and used via Terminal, it possibly could just run with no questions asked.

I could extend the pipeline to produce those binaries, but may I first ask why you wouldn't want to take what brew produces, and include that into x-cmd?

edwinjhlee commented 6 months ago

That's pretty neat, seems like a very interesting project.

I think you might be right, the browser marks those files as "downloaded from the Internet" on the filesystem level, so if something is compiled or downloaded and used via Terminal, it possibly could just run with no questions asked.

I could extend the pipeline to produce those binaries, but may I first ask why you wouldn't want to take what brew produces, and include that into x-cmd?

Thank you.

I believe that adopting the official build binary can be more reliable in source; later positioning reported bugs by users will also be relatively easier.