tauri-plugin-bare-kit 0.2.3

Effortless JavaScript backends for Tauri apps - Android 🤖 iOS 📱Linux 🐧 Macos 🖥️ Windows 💩
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import b4a from "b4a"
import BareKit from "tauri-plugin-bare-kit-api"

window.b4a = b4a
window.BareKit = { Worklet: BareKit.Worklet }

window.Deferred = class {
  constructor() {
    this.promise = new Promise((resolve, reject) => {
      this.resolve = resolve
      this.reject = reject
    })
  }
}