Skip to content

Commit

Permalink
make webcam feature persist on update
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikalii committed Jun 21, 2024
1 parent 99358bb commit e7e49d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,9 @@ fn update(main: bool, check: bool) {
if cfg!(feature = "audio") {
features.push("audio");
}
if cfg!(feature = "webcam") {
features.push("webcam");
}
let feature_str;
if !features.is_empty() {
args.push("--features");
Expand Down

0 comments on commit e7e49d0

Please sign in to comment.