Merge pull request 'Fix android ng-app setup: Use `$homePath/.cargo/bin/cargo-tauri` instead of static home path' (#19) from fix/ng-app/generic-cargo-path into master

pull/23/head^2
Niko PLP 4 months ago
commit 2bf6e56d79
  1. 3
      ng-app/src-tauri/gen/android/buildSrc/src/main/java/org/nextgraph/ng_app_native/kotlin/BuildTask.kt

@ -16,7 +16,8 @@ open class BuildTask : DefaultTask() {
@TaskAction
fun assemble() {
val executable = """/Users/nl/.cargo/bin/cargo-tauri""";
val homePath = System.getProperty("user.home");
val executable = "$homePath/.cargo/bin/cargo-tauri";
try {
runTauriCli(executable)
} catch (e: Exception) {

Loading…
Cancel
Save