put back the dashes

keypair34 committed Aug 18, 2025 at 10:45 UTC 75f2d995eadf94fdc85cc2c86aab1edf0af51a1d
5 files changed +7 -7
Cargo.toml
+2 -2
@@ -1,12 +1,12 @@
1 [package]
2 -name = "tauri-plugin-androidtvcheck"
2 +name = "tauri-plugin-android-tv-check"
3 version = "0.1.0"
4 authors = ["setoelkahfi@gmail.com"]
5 description = "A Tauri plugin for checking Android TV devices."
6 edition = "2021"
7 rust-version = "1.77.2"
8 exclude = ["/examples", "/dist-js", "/guest-js", "/node_modules"]
9 -links = "tauri-plugin-androidtvcheck"
9 +links = "tauri-plugin-android-tv-check"
10
11 [dependencies]
12 tauri = { version = "2.6.2" }
guest-js/index.ts
+1 -1
@@ -1,7 +1,7 @@
1 import { invoke } from "@tauri-apps/api/core";
2
3 export async function check(): Promise<string | null> {
4 - return await invoke<{ value?: string }>("plugin:androidtvcheck|check").then(
4 + return await invoke<{ value?: string }>("plugin:android-tv-check|check").then(
5 (r) => (r.value ? r.value : null),
6 );
7 }
package.json
+1 -1
@@ -1,5 +1,5 @@
1 {
2 - "name": "tauri-plugin-androidtvcheck-api",
2 + "name": "tauri-plugin-android-tv-check-api",
3 "version": "0.1.0",
4 "author": "setoelkahfi@gmail.com",
5 "description": "",
permissions/autogenerated/reference.md
+2 -2
@@ -18,7 +18,7 @@ Default permissions for the plugin
18 <tr>
19 <td>
20
21 -`androidtvcheck:allow-check`
21 +`android-tv-check:allow-check`
22
23 </td>
24 <td>
@@ -31,7 +31,7 @@ Enables the check command without any pre-configured scope.
31 <tr>
32 <td>
33
34 -`androidtvcheck:deny-check`
34 +`android-tv-check:deny-check`
35
36 </td>
37 <td>
src/lib.rs
+1 -1
@@ -34,7 +34,7 @@ impl<R: Runtime, T: Manager<R>> crate::AndroidTvCheckExt<R> for T {
34
35 /// Initializes the plugin.
36 pub fn init<R: Runtime>() -> TauriPlugin<R> {
37 - Builder::new("androidtvcheck")
37 + Builder::new("android-tv-check")
38 .invoke_handler(tauri::generate_handler![commands::check])
39 .setup(|app, api| {
40 #[cfg(mobile)]