forked from ciderapp/Apple-Music-Electron
-
Notifications
You must be signed in to change notification settings - Fork 0
Plugins
Alexander Frick edited this page Mar 28, 2023
·
1 revision
IMPORTANT: This guide applies to 3.0.0 only. Version 3.0.0 is still in active development and this page is subject to change.
Table of Contents
- Navigate to
%appdata%\AppleMusic
- This can be done using (Windows Key) + R and entering this path
- Create a folder in this directory named
plugins
- Copy the plugins
.js
files to the newplugins
directory - Relaunch Apple Music Electron
-
Navigate to
~/Library/Application Support/AppleMusic
- This can be done by opening the Finder, click the
Go
menu, and selectGo to folder...
- This can be done by opening the Finder, click the
- Create a folder in this directory named
plugins
- Copy the plugins
.js
files to the newplugins
directory - Relaunch Apple Music Electron
.js
file in the plugins folder.
In this plugin.js file add a comment block to the top of your file in this format, and fill in the information: After that you're good to go! You can now start developing your plugin, we provide a helper class with common Apple Music event handlers and functions that can speed up development. As well as several ipcRenderer messages that can be viewed here.
The AMEPluginHelper
class is available with common events and functions to help you develop your plugin, without having to reinvent the wheel.
More events and functions are being added as development continues, view the full developer documentation here.
Once relaunched pressing
CTRL + SHIFT + I
will bring up the DevTools.