Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

File Structure

Core edited this page Oct 5, 2021 · 2 revisions

File Structure for Apple Music Electron (v2.5.1)

  • Apple Music Electron/
    • index.js | Main File
    • package.json | Info for execution/building and has info on required prereqs
    • resources | Folder with the brains of the project
      • apple-music-electron.desktop | Info for linux distros about application
      • config.json | Global Config (it's just the default one, it doesn't affect the app)
      • languages.json | Collection of language codes for changing regions on Apple Music
      • css | Folder with the main CSS files needed for transparency or the macOS Scrollbar
      • fuctions | The literal brains
        • handler | Handles changes to the app
        • init | The functions to initialize the application
        • load | The load functions
        • update | AutoUpdater functions
        • media | Media functions
          • mpris | Arch Linux M.P.R.I.S Interface
          • discordrpc | Discord Rich Presence
          • lastfm | Contains functions for LastFM
        • win | Assets for the Windows media controls
        • CreateBrowserWindow.js | Creates/spawns the window
      • icons | Icons for the various platforms
      • js | Folder with the js to inject into the webpage. Used to inject elements or to get music metadata for the notification and/or Discord Rich Presence
      • themes | Folder that contains CSS themes