ElectronNET / ElectronNET/Electron.NET

Support for File Drop

Đang mở
#1,002 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
Feature
Ngôn ngữ chính
C#
Star
7.6k
Fork
741
Merge trung bình
3 giờ 50 phút
Pull request đã merge (30 ngày)
2

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.