mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-25 03:33:36 +03:00
fix(cli): fix code output of tauri plugin android init
(#8810)
* Fix: code output of tauri plugin android init double quotes `"` wasn't matching in plugin android init command * change file
This commit is contained in:
parent
fb0d997117
commit
aa06a0534c
6
.changes/cli-plugin-android-init.md
Normal file
6
.changes/cli-plugin-android-init.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri-cli": patch:bug
|
||||
"@tauri-apps/cli": patch:bug
|
||||
---
|
||||
|
||||
Fix `tauri plugin android init` printing invalid code that has a missing closing `"`.
|
@ -114,7 +114,7 @@ pub fn init<R: Runtime>() -> TauriPlugin<R> {{
|
||||
Builder::new("{name}")
|
||||
.setup(|app, api| {{
|
||||
#[cfg(target_os = "android")]
|
||||
let handle = api.register_android_plugin("{identifier}, "ExamplePlugin")?;
|
||||
let handle = api.register_android_plugin("{identifier}", "ExamplePlugin")?;
|
||||
Ok(())
|
||||
}})
|
||||
.build()
|
||||
|
Loading…
Reference in New Issue
Block a user