ByzantineFailure / BPM-for-Discord

BPM for Discord's Desktop App. Includes one-click installers, update notifications, and custom script support.
GNU Affero General Public License v3.0
17 stars 8 forks source link

Add Discord as a recognized Platform #3

Closed ByzantineFailure closed 8 years ago

ByzantineFailure commented 8 years ago

Need to add discord-specific methods in: bpm-browser.js options.js -- actual implementation here is part of issue #1, this particular issue should just handle getting something that works thrown in there.

ByzantineFailure commented 8 years ago

We may detect that we're in an electron setting via window["process"]

ByzantineFailure commented 8 years ago

We'll need to add a background.js file which works for Discord (handles messages 'n such)

ByzantineFailure commented 8 years ago

Modifications made to background.js -- messaging handled via a custom event. Changes made to bpm-browser, not yet complete, some issues with how to handle resource URLs. Options currently just using the defaults with them change to run globally just to make development easier.

ByzantineFailure commented 8 years ago

This does, of course, all assume that Discord hasn't royally screwed with how Electron runs.

ByzantineFailure commented 8 years ago

Resolved via commit e35fe8df9cd29faa54582f8d5d2195d3f7b0e3f9