build.rs 331 B

12345678910111213
  1. // Copyright 2019-2023 Tauri Programme within The Commons Conservancy
  2. // SPDX-License-Identifier: Apache-2.0
  3. // SPDX-License-Identifier: MIT
  4. fn main() {
  5. tauri_build::build();
  6. let mut codegen = tauri_build::CodegenContext::new();
  7. if !cfg!(feature = "custom-protocol") {
  8. codegen = codegen.dev();
  9. }
  10. codegen.build();
  11. }