ElectronNET / ElectronNET/Electron.NET

Support for File Drop

Ouverte
#1,002 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Feature
Langage dominant
C#
Étoiles
7.6k
Forks
741
Merge moyen
3 h 50 min
PR mergées (30 j)
2

Description

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)?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.