mirror of
https://github.com/JetpackDuba/Gitnuro.git
synced 2024-09-11 10:25:44 +03:00
Updated cargo configuration and fixed library loading
This commit is contained in:
parent
a0e1121eda
commit
d97ac18676
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@ build/
|
||||
.cxx
|
||||
rs/target/
|
||||
rs/Cargo.lock
|
||||
src/main/resources/*gitnuro_rs*
|
||||
|
@ -11,5 +11,8 @@ name = "gitnuro_rs"
|
||||
notify = "6.1.1"
|
||||
thiserror = "1.0.56"
|
||||
libssh-rs = { version = "0.3.3", features = ["vendored", "vendored-openssl"] }
|
||||
kotars = { path = "/home/abde/Projects/Rust/kotars/kotars" } #{ git = "https://github.com/JetpackDuba/kotars.git" }
|
||||
kotars = { git = "https://github.com/JetpackDuba/kotars.git" }
|
||||
jni = "0.21.1"
|
||||
|
||||
[profile.release]
|
||||
strip = true
|
@ -175,7 +175,7 @@ class App {
|
||||
else -> throw Exception("OS not supported")
|
||||
}
|
||||
|
||||
val gitnuroRsInputStream = javaClass.getResourceAsStream(gitnuroRsName)
|
||||
val gitnuroRsInputStream = javaClass.getResourceAsStream("/$gitnuroRsName")
|
||||
|
||||
gitnuroRsInputStream?.use { inputStream ->
|
||||
val tempDir = tempFilesManager.tempDir()
|
||||
|
Loading…
Reference in New Issue
Block a user