Gitnuro icon indicating copy to clipboard operation
Gitnuro copied to clipboard

macOS support

Open ProjectInfinity opened this issue 2 years ago • 4 comments

Hi, I built this project successfully on a Apple Silicone mac.

In doing so I discovered that the version string breaks the native macOS builder during compose's task. The error in particular was: Bundler Mac Application Image skipped because of a configuration problem: The first number in an app-version cannot be zero or negative. Advice to fix: Set a compatible 'app-version' value. Valid versions are one to three integers separated by dots.

The fix for me was to open build.gradle.kts and changing line 14 to say val projectVersion = "1.0.0"

ProjectInfinity avatar May 30 '22 22:05 ProjectInfinity

Hey!

Yes, I am aware of the issue. The same problem shows up when building .deb for Debian based linux distros.

I'm probably not going to change it for now as in july I'll release the 1.0.0 version. Basically because I need some free time to finish a few features, setup an env to test the MacOS version (I'm not an apple user) and get a dev cert for apple (to release it in the store, otherwise Apple Silicon users won't be able to install it easily AFAIK).

In other words, in a month or so I'll fix it with the new 1.0.0 release.

If you can test Gitnuro and report the bugs that you find (or features request) it will help me to release the stable version for MacOS faster.

JetpackDuba avatar May 31 '22 08:05 JetpackDuba

In regards to apple silicone users they can install applications the same way that mac has been able to for decades.

An apple dev cert is not necessary (unless you really want to publish in app store), a popular alternative for installing applications is Homebrew https://brew.sh/

asjur avatar May 31 '22 08:05 asjur

In regards to apple silicone users they can install applications the same way that mac has been able to for decades.

If I'm not mistaken there are some implications that may affect the UX.

An apple dev cert is not necessary (unless you really want to publish in app store), a popular alternative for installing applications is Homebrew https://brew.sh/

I didn't know about Homebrew, looks like an interesting option.

In any case, I may provide multiple options, I'd rather not have to pay for the dev certificate but if it's necessary I will probably do it.

JetpackDuba avatar May 31 '22 13:05 JetpackDuba

https://github.com/JetpackDuba/Gitnuro/pull/13 is related to this issue.

ProjectInfinity avatar Jun 29 '22 16:06 ProjectInfinity

v1.0.1 includes a MacOS release as a bundle & as a hombrew package.

Everything is unsigned for now. I have to consider if I am really willing to pay 100$/year to apple to sign it.

JetpackDuba avatar Aug 07 '22 17:08 JetpackDuba