feross / SpoofMAC

:briefcase: Change your MAC address for debugging
https://feross.org/spoofmac/
3.02k stars 271 forks source link

Autostart in OS X Yosemite #33

Closed aldur closed 9 years ago

aldur commented 9 years ago

After upgrading to Yosemite, I found out that spoof-mac autostart was not working. This happens because Apple deprecated StartupItems.

As a consequence, I tried to fix autostart the way Apple wants, by using launchd. I'm not an expert though, so if you find anything ugly, or wrong, feel free to change it.

And, eventually, on my system the update to version 2.0 produces a script called spoof-mac.py. So I updated the Readme consequently.

pteek commented 9 years ago

I renamed that file. doh! What was I thinking?

We need the setup.py to use the .py name in case of windows only.

feross commented 9 years ago

@pteek You sure that .py is needed in windows? Things worked before without the .py extension.

feross commented 9 years ago

I made a separate issue for the .py extension problem: https://github.com/feross/SpoofMAC/issues/34

These changes look good. Thanks for debugging this @aldur!