mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
Co-authored-by: Lucas Nogueira <lucas@tauri.studio> Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com> Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: david <david@lemarier.ca> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: chip <chip@chip.sh>
15 lines
435 B
Rust
15 lines
435 B
Rust
// Copyright 2019-2021 Tauri Programme within The Commons Conservancy
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
use tauri_build::{try_build, Attributes, WindowsAttributes};
|
|
|
|
fn main() {
|
|
if let Err(error) = try_build(
|
|
Attributes::new()
|
|
.windows_attributes(WindowsAttributes::new().window_icon_path("../../.icons/icon.ico")),
|
|
) {
|
|
panic!("error found during tauri-build: {}", error);
|
|
}
|
|
}
|