mirror of
https://github.com/seemueller-io/yachtpit.git
synced 2025-09-08 22:46:45 +00:00
11 lines
279 B
Rust
11 lines
279 B
Rust
extern crate embed_resource;
|
|
use std::env;
|
|
|
|
fn main() {
|
|
let target = env::var("TARGET").unwrap();
|
|
if target.contains("windows") {
|
|
// on windows we will set our game icon as icon for the executable
|
|
embed_resource::compile("build/windows/icon.rc");
|
|
}
|
|
}
|