magic-upload icon indicating copy to clipboard operation
magic-upload copied to clipboard

🧙‍ A BetterDiscord plugin to automagically upload files over 8MB.

Results 8 magic-upload issues
Sort by recently updated
recently updated
newest added

![image](https://github.com/mack/magic-upload/assets/130588672/92c67f7c-7067-4961-ba43-7f5c23650a98)

After moving the file to my plugins folder, this popped up. ![image](https://github.com/mack/magic-upload/assets/92820773/38aedc40-8751-404d-b909-ed9a1451020f) "Error: ENOENT: no such file or directory, lstat 'C:\Users\ajayp\AppData\Local\Discord\app-1.0.9016\http' at Object.T [as realpathSync] (betterdiscord/renderer.js:4:327228) at L.getFilePath (betterdiscord/renderer.js:4:328498) at...

Port it to replugged. You can even use npm modules if they don't use node inbuilt modules. Should be fine

![image](https://user-images.githubusercontent.com/67981426/197291435-7c71f57a-98f0-4a3f-ad36-49d47f731997.png)

![image](https://user-images.githubusercontent.com/17802843/189236726-628a8197-3f54-4215-a48b-d5b8b3cef9d9.png) After some googling, it appears that I need to enable "less secure app access". However: https://support.google.com/accounts/answer/6010255 ![image](https://user-images.githubusercontent.com/17802843/189236785-8703d5b9-1c3f-4c7d-85ce-3def6c2b2964.png)

At the moment, files uploaded with the `+` button will error in MagicUpload. This is because the `file.path` is `""` for some reason.

## Describe the issue [install.sh](https://github.com/mack/magic-upload/blob/main/scripts/install.sh) currently only supports the default plugin folder for MacOS. This script should be updated to support Windows and Linux's BetterDiscord plugin folder location.