Skip to content

Commit

Permalink
Build Code
Browse files Browse the repository at this point in the history
  • Loading branch information
ahqsoftwares committed Mar 11, 2024
1 parent bdff8d0 commit 2dc45f0
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 24 deletions.
Binary file removed build.zip
Binary file not shown.
8 changes: 0 additions & 8 deletions installer/Cargo.toml

This file was deleted.

3 changes: 0 additions & 3 deletions installer/src/main.rs

This file was deleted.

10 changes: 9 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,17 @@ fn main() {
.wait()
.unwrap();

#[cfg(not(windows))]
Command::new("cp")
.args(["-r", "templates", "./build/templates/"])
.spawn()
.unwrap()
.wait()
.unwrap();

#[cfg(not(windows))]
Command::new("zip")
.args(["-r", "./build.zip", "-i", "./build/*", "-i", "./templates"])
.args(["./build.zip", "./build/*"])
.spawn()
.unwrap()
.wait()
Expand Down
Empty file removed templates/custom_pkg/app.pb
Empty file.
10 changes: 0 additions & 10 deletions templates/custom_pkg/pb.json

This file was deleted.

Empty file removed templates/custom_pkg/run
Empty file.
2 changes: 0 additions & 2 deletions templates/custom_pkg/template

This file was deleted.

0 comments on commit 2dc45f0

Please sign in to comment.