SpoofMAC is a very useful tool to make it more difficult to track your device via it's MAC address. However, in some cases it can mess with your workflow, because some proprietary software checks and registers your device's MAC address once you purchase a license key. DaVinci Resolve Studio is such an example. The free version of DaVinci Resolve does not cause any issues (YES - there is a free version - which already is a fantastic alternative to Adobe Premiere Pro!). But once you install and register DaVinci Resolve Studio, the payed premion version of DaVinci Resolve, its license key is linked to your device's MAC address, which is why you have to repeatedly re-enter it every time SpoofMAC randomizes your MAC address.
In the following post we use DaVinci Resolve as an example to set up an AppleScript that we save as a tiny helper application. Its sole purpose is to change your device's MAC address back to the MAC address you used when you registered your license key before it proceeds to start DaVinci Resolve.
DaVinci_Startup.app
an AppleScript to reconcile SpoofMAC and DaVinci Resolve...
Before you enter your DaVinci Resolve license key, note down your current MAC address:
# Check current MAC address:spoof list --wifi
In our example, this is our MAC address: 00:05:69:2A:96:68
Now open DaVinci Resolve and enter your license key to activate DaVinci Resolve on your device!
Next, open your Script Editor.app (found with Spotlight: press ⌘ and [SPACE], then type Script Editor, or find it in your Applications -> Utilities Folder). Copy and paste the following content:
# DaVinci Resolve Startup AppleScript:on run
do shell script "/usr/sbin/networksetup -setairportpower en0 off && sudo /opt/local/bin/node /opt/local/bin/spoof set 00:05:69:2A:96:68 wi-fi" with administrator privileges
tell application "/Applications/DaVinci Resolve/DaVinci Resolve.app"
activate
end tell
end run
Please edit the MAC address to match your own MAC address!
Finally, click on [File] -> [Export]. Choose [File Format]: [Application] and Export as: DaVinci_Startup.app. Save your fresh app in a suitable location of your choice.
You can even give it the original DaVinci Resolve logo, so that you instinctively click on, it whenever you want to work with DaVinci Resolve:
Right-click on both, the original DaVinvi Resolve.app and your DaVinci_Startup.app and click on [Get Info]. Then drag and drop the DaVinvi Resolve logo from the original app into the respective field for the logo of your DaVinci_Startup.app.
That is it already! Double-click on your app to start DaVinci Resolve. You can now keep this app in your Dock instead of the original DaVinvi Resolve.app.