Commit Graph

15 Commits

Author SHA1 Message Date
Qb e99686346c
ReactDevTools: fixed race condition (#898)
```js
console.log('READY STATE '+ electron.app.isReady());
electron.app.once("loaded", async ()=>{console.log("loaded");});
electron.app.whenReady().then(async ()=>{console.log("whenReady");});
```
Results in the following when the app is already ready.
```
READY STATE true
whenReady
[... loaded will be logged]
```
This will not fix the race condition when opening the devtools. You want to open the devtools as **early** as possible for the tabs to show up.
2021-07-26 11:19:16 -04:00
Zack Rauen 0eea6d8d17 Update dependencies 2021-07-08 18:32:35 -04:00
Strencher b123e57c17
Add FileBrowser API to BdApi (#842) 2021-07-08 18:20:28 -04:00
Criz Games 06a843e61e
Add support for other chrome profiles in reactdevtools.js (#802)
* Update reactdevtools.js

* Update reactdevtools.js
2021-07-07 18:46:06 -04:00
Strencher 959bdc3a4f
Fix several crashing issues (#869)
* Fix canary issue and stream crashing.

* Fix process package by NodeJS.

* Move ipc calls to IPC module.
2021-07-07 18:34:04 -04:00
Zack Rauen fd43ebf7b8 Clean up code, add more linting, update emote styling 2021-04-12 01:07:00 -04:00
Zack Rauen aeeb95d84b Add more developer tools 2021-04-06 02:03:08 -04:00
Zack Rauen 66d8d7a069 Fix bugs for plugins and themes 2021-04-03 15:56:46 -04:00
Zack Rauen 826aa7999c Add ability to remove discord's minimum size restriction 2021-04-03 00:17:55 -04:00
Zack Rauen a223806060 Add a few small features
- Fixes colored text
- Fixes detach window not showing saved css (closes #635)
- Adds option to prevent Discord from hijacking the media keys (closes #410)
- Adds command line flag to launch a vanilla version of Discord `--vanilla` (closes #337)
- Adds option for app-wide ctrl+shift+c shortcut for inspect element (closes #349)
- Adds emote blocklist to BdApi via `BdApi.Emotes.blocklist` (closes #408)
2021-04-02 23:16:23 -04:00
Zack Rauen 59d9ec3dea Update the README 2021-03-31 16:28:43 -04:00
Zack Rauen bd9b681e3f Fixes issues with bd folder 2021-03-25 12:19:55 -04:00
Zack Rauen f3f15ec72c Fix multiple bugs, change to sync loading
- Removes copy selector developer option
- Add a crash check in the injector
- Switch from throwing over the wall to using <script> elements
- Revert to synchronous loading due to above
- Don't load on login screen
- Plugin logging includes version numbers
- Fix blankslate links
- Fix changelog overflow
2021-03-18 17:50:47 -04:00
Zack Rauen 1312bca78f Fix build and add instructions 2021-03-18 10:00:12 -04:00
Zack Rauen 74b2dace04 Restructure BD into a small mono-repo
This is a repo-wide refactor that introduces the injector to the main branch.

The new architecture is as such:
common/
injector/
renderer/
2021-03-06 03:30:16 -05:00