ElectronNET / ElectronNET/Electron.NET

Support for File Drop

オープン
#1,002 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
Feature
主要言語
C#
スター
7.6k
フォーク
741
平均マージ
3時間 50分
マージ済み PR(30日)
2

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。