Both Windows and MacBooks have advantages for astrophotography, but the choice will depend on your power level and budget.

Source: Is a MacBook or Windows laptop better for astrophotography?