Comments (2)
I think the easiest solution would be that runtime.showOpenFileDialog
adds the opened path to a temporary whitelist of allowed paths.
There is no core api yet to pass bobs as base64 to core directly. So if we work with base64 we would need to temporarily save the file to the temp folder and then give that path to core (and ideally delete the temp file again after it was copied by core).
from deltachat-desktop.
We don't have pass Base64 to core. We could return two things from runtime.showOpenFileDialog
: the path (for the core) and the Base64 string (or, perhaps File
), for the UI.
from deltachat-desktop.
Related Issues (20)
- Multiline text added to a webxdc message is shown w/o newlines
- Release Progress 1.46.5 HOT 2
- ctrl+q only minimizes to tray HOT 8
- enhance "edit name" dialog
- Profile View: If Contact has long bio, then shared chats are hidden
- Release Progress 1.46.7 HOT 1
- upload file caused a freeze
- Do not try to start I/O before deleting account HOT 4
- Window flickers and content is scaled uncorrectly under SwayWM
- Flatpak takes a very long time to launch
- Update electron to version 32
- Limit options for "Delete Messages from Server" for chatmail accounts HOT 1
- Release Progress 1.46.8 💫
- Read counter and notification get reset
- Use new `proxy_enable` and `proxy_url` settings
- wrong "New Group" title
- tab-navigation incomplete/erroneous HOT 2
- unexpected "Escape" key behaviours HOT 1
- Adding the desktop client as second device using a QR code fails - message "please login first" HOT 5
- CI: "Upload Preview (windows-latest)" is broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deltachat-desktop.