Comments (6)
in v2 beta we only support the latest versions. To not leave you empty handed, try adding tauri-utils
(and maybe tauri-runtime and tauri-runtime-wry) as direct dependencies of your app with older versions.
What's the reason you're downgrading to beta.18? Are there any bugs in 19-22?
from tauri.
@FabianLars .
use 22, I can not spawn sidecar, I run cargo tauri build to generate package and manually change exe directory and exe name, tauri window report out of memory, but can spawn exe after refresh page.
use beta.16 sidecar can work. so I want to rollback tauri beta version to 1X.
thanks.
from tauri.
@FabianLars
after install the package and I change
meilisearch-windows-amd64.exe.exe to meilisearch-windows-amd64.exe-x86_64-pc-windows-msvc.exe
tauri can run but crash with blank screen.
meilisearch-windows-amd64.exe-x86_64-pc-windows-msvc.exe is too big?(100M)
from tauri.
the executable size shouldn't matter
from tauri.
@FabianLars
oh,
same code, I have ever success to spawn without crash. I just run cargo update, I don't know which module affects:(
from tauri.
@FabianLars
I switch to std::process::Command temp...
I think "out of memory" reason may be following code?
let (mut rx, mut _child) = sidecar_command
.spawn()
.expect("Failed to spawn meili");
let window = app.get_webview_window("main").unwrap();
tauri::async_runtime::spawn(async move {
// read events such as stdout
while let Some(event) = rx.recv().await {
if let CommandEvent::Stdout(line) = event {
window
.emit("message", Some(format!("'{:?}'", line)))
.expect("failed to emit event");
// write to stdin
//child.write("message from Rust\n".as_bytes()).unwrap();
println!("{:?}",format!("'{:?}'", line));
}
}
so guess, latest sidecar main issue may be the "-x86_64-pc-windows-msvc" is stripped with .exe.exe when package and dev debug.
thanks!
from tauri.
Related Issues (20)
- Please add support/doc configuration for Vuetify 3.x HOT 1
- [bug] [macos] Redraw when window background color is transparent
- [bug] tauri://drop The event is invalid HOT 1
- [bug] Can show video streams transcoded from RTSP to WebRTC protocol in browser, but not in desktop app. HOT 1
- [docs] clarify how to build a client which can connect to the public network HOT 2
- [bug] v2 fails to generate signed apk HOT 1
- [bug] [v2]: $APPDATA/$APPCONFIG/... don't get created on Linux HOT 1
- [bug] Verify signature error: UnexpectedKeyId
- [bug] Adding the "webview" attribute to capabilities does not give plugin permissions on additional webviews
- [bug] When set `"transparent": true` on Windows 11, the background with the initial size will be white.
- [bug] cannot compile, bacause there are errors in commands.rs HOT 1
- Use stream in tauri-plugin-fs `writeFile` HOT 1
- [bug] Tauri IPC not responding (eg. promise is not being fulfilled/not resolving) only when returning complex values
- [bug] failed to bundle project: failed to remove extra attributes from app bundle: `failed to run xattr` HOT 1
- [bug] v2 plugin-fs home permissions do not appar to work for fs.exist HOT 1
- [error] @tauri-apps/api v2.0.0-beta.15 How to set window capability? HOT 1
- [bug] - v2 tauri::command unable to deserialize Vec<u8> from Uint8Array HOT 2
- [feat] Support with_asset_loader on android
- [bug] `window.cursorPosition` errors in v2 HOT 3
- [bug] When the parent directory of the tauri2 project directory is named `[tauri]`, core capabilities are not recognized HOT 3
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 tauri.