mirror of
https://github.com/electron/electron.git
synced 2026-01-27 00:09:09 -05:00
If ELECTRON_TRASH is null, first check the DESKTOP_SESSION variable and set trash accordingly. Additional desktop environments can be added easily this way with the fallback of ELECTRON_DEFAULT_TRASH.