You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Prototype the packaging of Graphite into Tauri #636
@felipetesc Did you have similar issues with instantiateStreaming receiving the wrong mime type in cargo tauri build? The aim of this pr is a bit different because we acutally aim to execute the logic locally in order not to be limited by wasm constraints. Would you mind taking a look at this pr and potentially help with some of the issues? I'm a total newbie to tauri hence any feedback would be much appreciated.
Did you have similar issues with instantiateStreaming ?
No. I didn't find any issues with cargo tauri build. However, I don't know how you proceeded, that is, what you have done before executing the previous command.
What I did can be found at https://github.com/felipetesc/graphite-desktop/blob/master/README.md
"We actually aim to execute the logic locally"...
Question: Would be possible to use a single Javascript file to ask for any resources from the web server (I read at https://github.com/GraphiteEditor/Graphite/tree/master/frontend that you are using webpack and I don't know if that's the case already, sorry for this) ?
The reason for this request is to allow us to use the file main.js to make all operating system calls from the same point. If any other file needs a resource it is going to use this js. And if we want to create a server with Rust, or Python, Go (wherever), we will exclusively deal with the complications of one JS. In a sense, it's like building an app as pwa.
I'm most probably wrong about several assumptions I've made here.
We'll want to run the Rust code natively instead of inside the webview's WASM runtime, especially once we're doing our own rendering rather than using the browser's SVG engine (since the perf bottleneck is currently on that render engine, not ours)
Activity
2 remaining items
felipetesc commentedon Dec 5, 2022
#873 (comment)
Did you have similar issues with instantiateStreaming ?
No. I didn't find any issues with
cargo tauri build. However, I don't know how you proceeded, that is, what you have done before executing the previous command.What I did can be found at https://github.com/felipetesc/graphite-desktop/blob/master/README.md
"We actually aim to execute the logic locally"...
Question: Would be possible to use a single Javascript file to ask for any resources from the web server (I read at https://github.com/GraphiteEditor/Graphite/tree/master/frontend that you are using webpack and I don't know if that's the case already, sorry for this) ?
The reason for this request is to allow us to use the file main.js
to make all operating system calls from the same point. If any other file needs a resource it is going to use this js. And if we want to create a server with Rust, or Python, Go (wherever), we will exclusively deal with the complications of one JS. In a sense, it's like building an app as pwa.
I'm most probably wrong about several assumptions I've made here.
felipetesc commentedon Dec 5, 2022
Question:
Is this similar to what you want https://github.com/RazrFalcon/resvg ? On top of glow, or wgpu, or ... ?
[-]Set up downloadable builds through Tauri[/-][+]Prototype the packaging of Graphite into Tauri[/+]