mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-11 11:53:21 +03:00
a0f410dcff
* feat(tauri) initial work for the CLI * feat(build) read dist path from env * feat(tauri) proton.js entry * feat(tauri) threeshake fs * feat(injector) check if tauri dir exists * feat(injector) don't show success message if dir exists * chore(injector) cleanup fs imports
13 lines
269 B
Rust
Executable File
13 lines
269 B
Rust
Executable File
extern crate includedir_codegen;
|
|
|
|
use includedir_codegen::Compression;
|
|
use std::env;
|
|
|
|
fn main() {
|
|
let dist_path = env::var("TAURI_DIST_DIR").unwrap();
|
|
includedir_codegen::start("ASSETS")
|
|
.dir(dist_path, Compression::None)
|
|
.build("data.rs")
|
|
.unwrap();
|
|
}
|