Files
Lucas Fernandes Nogueira 3809cee4d6 refactor: only inject API IIFE script when withGlobalTauri is true (#1071)
* refactor: only inject API IIFE script when withGlobalTauri is true

* fmt

* update tauri

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/8347963398

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-19 18:04:32 +00:00

12 lines
313 B
Rust

// Copyright 2019-2023 Tauri Programme within The Commons Conservancy
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
const COMMANDS: &[&str] = &["exit", "restart"];
fn main() {
tauri_plugin::Builder::new(COMMANDS)
.global_api_script_path("./api-iife.js")
.build();
}