-
-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map doesn't open #3858
Comments
If I start deltachat-desktop with |
The path doesn't work:
There is
In general the file doesn't seem to be shipped, |
just another data point: on mac/sonoma with arm-build (thanks for that, btw!), the map shows up |
I have the same problem. When I click on the map icon in the bar or on "Open global map" nothing happens. When I click on the gallery icon it is always highlighted along with the map icon. I found the following suspicious entries in the log: 2024-05-25T09:12:37.241Z renderer ERROR "\nfile:///Applications/DeltaChat.app/Contents/Resources/app.asar/src/renderer/App.tsx:109:10" "Unhandled Rejection:" {"isTrusted":true} {"stack":"Error: Error invoking remote method 'open-maps-webxdc': [object Object]\n at IpcRenderer.invoke (node:electron/js2c/sandbox_bundle:2:49458)","message":"Error invoking remote method 'open-maps-webxdc': [object Object]"} |
probably we need to instruct electron-builder to also put it into the asap.unpacked folder and then additionally adjust the code so it finds it when it is a release, similar to what I did for the rpc server in deltachat-desktop/src/main/deltachat/controller.ts Lines 88 to 91 in 513bf80
Probably the issue is that electron can deal with those paths, but deltachat core does not understand what the asar archive is so it does not look inside of it. |
I was now able to start DC via terminal. (node:2322) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time Error occurred in handler for 'open-maps-webxdc': { |
i meanwhile have the same bug as well, not sure what has changed. at least, the bug is consistent now :) |
* Fix path in package asar resolves #3858 * add typing to electron-builder config * add changelog entry * "manually" copy the xdcs in after pack hook --------- Co-authored-by: SimonLaux <[email protected]>
The text was updated successfully, but these errors were encountered: