Compare commits
25
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a8ff604873 | ||
|
|
d497b68bb7 | ||
|
|
09ac478ae3 | ||
|
|
c72613bd76 | ||
|
|
6f9ac2f9e3 | ||
|
|
c5904331d3 | ||
|
|
1754b6a812 | ||
|
|
3354416f6b | ||
|
|
a1efac9fd1 | ||
|
|
0359652b9c | ||
|
|
8c9bc8b53c | ||
|
|
eab4ea5567 | ||
|
|
d0843a9518 | ||
|
|
f40b309886 | ||
|
|
830a2e908a | ||
|
|
e77cb835eb | ||
|
|
bb116775c4 | ||
|
|
424c0f7049 | ||
|
|
8bdb1fcd27 | ||
|
|
6e1eb9b9a5 | ||
|
|
bc3ac09f0c | ||
|
|
df87a5e811 | ||
|
|
62e1a286a7 | ||
|
|
43ad1645b2 | ||
|
|
da50a0f466 |
No files matched your search
@@ -41,18 +41,6 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Unduh Rust
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
rustflags: "-A warnings"
|
||||
|
||||
- name: Penerbitan peti Cargo
|
||||
run: |
|
||||
cargo publish
|
||||
env:
|
||||
CARGO_REGISTRIES_GITEA_TOKEN: Bearer ${{ secrets.KUNCI_PENERBITAN }}
|
||||
|
||||
- name: Unduh pnpm
|
||||
uses: pnpm/setup@v2
|
||||
with:
|
||||
@@ -65,3 +53,15 @@ jobs:
|
||||
npm config set -- '//${{ vars.ALAMAT_GITEA }}/api/packages/${{ needs.persiapan.outputs.organisasi }}/npm/:_authToken' "${{ secrets.KUNCI_PENERBITAN }}"
|
||||
npm publish
|
||||
rm -rf pnpm-lock.yaml .pnpm-store/
|
||||
|
||||
- name: Unduh Rust
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
rustflags: "-A warnings"
|
||||
|
||||
- name: Penerbitan peti Cargo
|
||||
run: |
|
||||
cargo publish
|
||||
env:
|
||||
CARGO_REGISTRIES_GITEA_TOKEN: Bearer ${{ secrets.KUNCI_PENERBITAN }}
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "tauri-plugin-bluclas"
|
||||
version = "0.1.23"
|
||||
version = "0.1.21"
|
||||
authors = [ "Rizky Denianto" ]
|
||||
description = "Program sederhana untuk interaksi dengan bluetooth classic"
|
||||
edition = "2024"
|
||||
@@ -28,7 +28,7 @@ ios = { level = "none" }
|
||||
tauri = { version = "2.11.5" }
|
||||
serde = "1.0"
|
||||
thiserror = "2"
|
||||
serialport = "4.10.1"
|
||||
serialport = "4.10.0"
|
||||
|
||||
[build-dependencies]
|
||||
tauri-plugin = { version = "2.6.3", features = ["build"] }
|
||||
+1
-18
@@ -1,21 +1,4 @@
|
||||
import {
|
||||
checkPermissions as checkPermissions_,
|
||||
invoke,
|
||||
PermissionState,
|
||||
requestPermissions as requestPermissions_,
|
||||
} from "@tauri-apps/api/core";
|
||||
|
||||
export async function checkPermissions(): Promise<PermissionState> {
|
||||
return await checkPermissions_<{ bluetooth: PermissionState }>(
|
||||
"bluclas",
|
||||
).then((e) => e.bluetooth);
|
||||
}
|
||||
|
||||
export async function requestPermissions(): Promise<PermissionState> {
|
||||
return await requestPermissions_<{ bluetooth: PermissionState }>(
|
||||
"bluclas",
|
||||
).then((e) => e.bluetooth);
|
||||
}
|
||||
import { invoke } from "@tauri-apps/api/core";
|
||||
|
||||
export type SDaftarPerangkatBlueclasResponDaftarPerangkat = {
|
||||
nama: string;
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@segubi/tauri-plugin-bluclas-api",
|
||||
"version": "0.1.23",
|
||||
"version": "0.1.21",
|
||||
"author": "Rizky Denianto",
|
||||
"description": "Program sederhana untuk interaksi dengan bluetooth classic",
|
||||
"type": "module",
|
||||
@@ -26,7 +26,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-typescript": "^12.3.0",
|
||||
"rollup": "^4.63.2",
|
||||
"rollup": "^4.63.1",
|
||||
"typescript": "^6.0.3",
|
||||
"tslib": "^2.8.1"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user