ElectronNET / ElectronNET/Electron.NET

Support for File Drop

Abierto
#1,002 0 comentarios 1 reacción 0 asignados Ver en GitHub
Feature
Lenguaje dominante
C#
Estrellas
7.6k
Forks
741
Merge medio
3 h 50 min
PR fusionados (30 d)
2

Descripción

The drag/drop events don't natively expose the file path on file drop. For that, you have to invoke the [`getPathForFile`](https://www.electronjs.org/docs/latest/api/web-utils#webutilsgetpathforfilefile) function provided by the `webUtils` module. Unfortunately, this is not exposed by default (even less so when context isolation is turned on). Is there a way to invoke that function with the current possibilities, ideally without adding a preload script? And if it's not possible, is there a way to use a preload script without having it exposed as a physical file (e.g., loading from manifest stream)?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.