TurboWarp / desktop

A better offline editor for Scratch 3.
https://desktop.turbowarp.org/
GNU General Public License v3.0
344 stars 71 forks source link

Detect Flatpak permission errors on drag and drop #1004

Closed GarboMuffin closed 1 month ago

GarboMuffin commented 1 month ago

Electron needs direct file access for drag & drop. This is a hacky approach to detect missing permissions and tell the user how to fix it.

Right now we ship with --filesystem=home. That's a lot of access but it doesn't include places like /mnt and we would like to get rid of it anyways (https://github.com/TurboWarp/desktop/issues/569). This should help us get there