Menambah keterangan sistem operasi yang didukung #21
No files matched your search
+8
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "tauri-plugin-bluclas"
|
||||
version = "0.1.15"
|
||||
version = "0.1.16"
|
||||
authors = [ "Rizky Denianto" ]
|
||||
description = "Program sederhana untuk interaksi dengan bluetooth classic"
|
||||
edition = "2024"
|
||||
@@ -17,6 +17,13 @@ incremental = false
|
||||
strip = "symbols"
|
||||
debug = false
|
||||
|
||||
[package.metadata.platforms.support]
|
||||
windows = { level = "full" }
|
||||
linux = { level = "full" }
|
||||
macos = { level = "none" }
|
||||
android = { level = "full" }
|
||||
ios = { level = "none" }
|
||||
|
||||
[dependencies]
|
||||
tauri = { version = "2.11.5" }
|
||||
serde = "1.0"
|
||||
|
||||
@@ -90,9 +90,13 @@ class BluclasPlugin(private val activity: Activity) : Plugin(activity) {
|
||||
@Command
|
||||
fun kirim(invoke: Invoke) {
|
||||
val args = invoke.parseArgs(KirimArgs::class.java)
|
||||
if (args.alamat.isNullOrEmpty()) {
|
||||
invoke.resolve()
|
||||
return
|
||||
}
|
||||
|
||||
try {
|
||||
menghubungkanKoneksi(args.alamat ?: "")
|
||||
menghubungkanKoneksi(args.alamat)
|
||||
|
||||
if (keluaran == null) {
|
||||
throw Exception("Tidak ada perangkat yang terhubung")
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@segubi/tauri-plugin-bluclas-api",
|
||||
"version": "0.1.15",
|
||||
"version": "0.1.16",
|
||||
"author": "Rizky Denianto",
|
||||
"description": "Program sederhana untuk interaksi dengan bluetooth classic",
|
||||
"type": "module",
|
||||
|
||||
Reference in new issue
Block a user