Re:Tauri 1.0 – Electron Alternative Powered by Rust
by pessimizer on Thursday June 16, 2022 @09:43AM
(#31765955)
None of those options are any easier than moving it. No harder, but no easier.
Re:Tauri 1.0 – Electron Alternative Powered by Rust
by electroly on Thursday June 16, 2022 @10:10AM
(#31766242)
I don't think I agree. You don't need root and you don't need to "install" anything with these other options; it allows the user to extract and run rather than extract, elevate, install, run. It clearly shifts some of the pain from the user back to the developer. It's particularly clearly a win if you're distributing your app on your website instead of via distro package managers.
Re:Tauri 1.0 – Electron Alternative Powered by Rust
by ptspts on Thursday June 16, 2022 @10:32AM
(#31766517)
A shell script provided by the app author can automate setting LD_LIBRARY_PATH and running the binary. It's very convenient for the end user. Lots of programs are shipped to Linux this way.
Re:Tauri 1.0 – Electron Alternative Powered by Rust
by jjnoakes on Thursday June 16, 2022 @10:02AM
(#31766163)
They are easier for the end user in certain cases. Putting the library in the system library search path requires elevated privileges (usually). Having your application run from a self-contained directory does not.
Incorrect. Linux doesn't care where you load a .so from. You could load it by using a path, or you could add a path to your LD_LIBRARY_PATH env var. You could even add it to your compiled binary's RPATH. All methods support relative paths. The latter requires a binary, but the first two work with nearly all scripting languages.