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