jdhitsolutions / PSWorkItem

A PowerShell 7 module for managing work and personal tasks or to-do items. This module uses a SQLite database to store task and category information. The module is not a full-featured project management solution, but should be fine for personal needs. The module requires a 64-bit Windows or Linux platform.
MIT License
36 stars 5 forks source link

[Question]: Any plan for adding support for Mac with M1 processors? #9

Closed Tuttu closed 5 months ago

Tuttu commented 1 year ago

Describe the question or issue

Hello,

Everything is in the title. Do you have plan to support Mac computers that have M1 processors? My work computer is a Mac M1 so I want to know if I need to find an alternative to this module or not. :)

PowerShell version

Other

Platform

MacOS

jdhitsolutions commented 1 year ago

The restriction is the MySQLite module which currently only supports Windows. There is a MacOS binary for SQLite, so I think, technically I could get this to work. Maybe this would justify buying a MBP so I can test. That said, if you want to look at https://github.com/jdhitsolutions/MySQLite and come up with a PR that supports MacOS and Linux, I'd certainly welcome it.

That said, I just looked again at the pre-compiled Mac binaries and I only see x86. A quick search found this: https://sqlitebrowser.org/blog/apple-silicon-macos-package-available/ but I have no way of testing. But I am open to a PR for MySQLite that adds non-Windows support.

Tuttu commented 1 year ago

I can't promise anything as I'm all new with macOS but I will at least take a look at the SQLite binaries and see if they work well on a M1 Mac. After that, I will see how I can add it to the MySQLite module and do a PR.

I might need some guidance on that second part as I have never done such thing related to PowerShell modules. Bonus question: what are the requirements for SQLite? Do you have a min or max version that should be bundled?

jdhitsolutions commented 1 year ago

I don't think there are any minimum requirements for SQLite. I'm trying to include the latest stable version of the assemblies.

jdhitsolutions commented 8 months ago

I have updated the mySQLite module to support Linux-x64. I'm hoping for a PR to add MacOS support.

Tuttu commented 8 months ago

I tried to get it working on macOS but that's above my skills unfortunately. :(

jdhitsolutions commented 8 months ago

It will require someone to compile the SQLite assemblies for the M2 processor if that is even possible.

jdhitsolutions commented 5 months ago

Closing for now since there's nothing I can do unless someone creates a compatible mySQL binary for Apple silicon.