Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

732 B
Raw Blame
fn main() {
    println!("cargo:rerun-if-changed=.pake/pake.json");
    println!("cargo:rerun-if-changed=.pake/tauri.conf.json");
    tauri_build::try_build(tauri_build::Attributes::new().app_manifest(
        tauri_build::AppManifest::new().commands(&[
            "download_file",
            "send_notification",
            "close_notification",
            "increment_dock_badge",
            "set_dock_badge",
            "set_dock_badge_label",
            "clear_dock_badge",
            "update_theme_mode",
            "set_zoom",
            "webview_navigate",
            "set_title_bar_color",
            "quit_app",
            "reveal_download",
        ]),
    ))
    .expect("Failed to build Pake permissions")
}