TotemArts / Launcher

[WIP] Launcher for Renegade-X (Not Electron)
GNU General Public License v3.0
24 stars 9 forks source link

Missing libsciter-gtk.so #93

Open topas-rec opened 1 year ago

topas-rec commented 1 year ago

Hello everyone.

Launching according to the README - Linux fails on my machine:

[tobiasb@tobias-pc backend]$ export PATH=$PATH:~/DATA/Games/renegade-x-launcher/sciter-js-sdk-5.0.0.9/bin/linux/x64
[tobiasb@tobias-pc backend]$ cargo run --release
warning: unused variable: `error`
  --> src/handler.rs:45:47
   |
45 |   fn check_update(&self, done: sciter::Value, error: sciter::Value) -> Result<(), Error> {
   |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
   |
   = note: `#[warn(unused_variables)]` on by default

warning: unused variable: `callback_done`
   --> src/handler.rs:240:32
    |
240 |   fn remove_unversioned(&self, callback_done: sciter::Value, error: sciter::Value) {
    |                                ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback_done`

warning: unused variable: `error`
   --> src/handler.rs:240:62
    |
240 |   fn remove_unversioned(&self, callback_done: sciter::Value, error: sciter::Value) {
    |                                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`

warning: `renegade-x-launcher` (bin "renegade-x-launcher") generated 3 warnings
    Finished release [optimized + debuginfo] target(s) in 0.10s
     Running `target/release/renegade-x-launcher`
thread 'main' panicked at 'error: 'libsciter-gtk.so' was not found neither in PATH nor near the current executable.
  Please verify that Sciter SDK is installed and its binaries (from bin.lnx) are available in PATH.', /home/tobiasb/.cargo/registry/src/github.com-1ecc6299db9ec823/sciter-rs-0.5.58/src/lib.rs:359:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[tobiasb@tobias-pc backend]$ 

The sciter package does not contain a libsciter-gtk.so:

[tobiasb@tobias-pc backend]$ ls -la ~/DATA/Games/renegade-x-launcher/sciter-js-sdk-5.0.0.9/bin/linux/x64
total 35248
drwxrwxr-x 2 tobiasb tobiasb     4096 Oct  4 20:20 .
drwxrwxr-x 6 tobiasb tobiasb     4096 Oct  4 20:20 ..
-rw-rw-r-- 1 tobiasb tobiasb   277104 Oct  4 20:20 gsciter
-rwxrwxr-x 1 tobiasb tobiasb    60016 Oct  4 20:20 inspector
-rw-rw-r-- 1 tobiasb tobiasb   859184 Oct  4 20:20 integration
-rw-rw-r-- 1 tobiasb tobiasb 19045968 Oct  4 20:20 libsciter.so
-rwxrwxr-x 1 tobiasb tobiasb 13113240 Oct  4 20:20 scapp
-rw-rw-r-- 1 tobiasb tobiasb   449944 Oct  4 20:20 sciter-component.so
-rwxrwxr-x 1 tobiasb tobiasb   663832 Oct  4 20:20 sciter-sqlite.so
-rw-rw-r-- 1 tobiasb tobiasb   304256 Oct  4 20:20 sciter-webview.so
-rwxrwxr-x 1 tobiasb tobiasb  1297696 Oct  4 20:20 usciter

I use arch Linux.

Best regards