Skip to content

Commit f81d6f0

Browse files
committed
build: actually fix build
1 parent 9c57ba3 commit f81d6f0

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- uses: actions-rust-lang/setup-rust-toolchain@v1
4242
name: Setup Rust
4343
with:
44-
targets: ${{ contains(matrix.os, 'macos') && 'x86_64-apple-darwin' || '' }}
44+
target: ${{ contains(matrix.os, 'macos') && 'x86_64-apple-darwin' || '' }}
4545
toolchain: 1.88
4646
- name: Cargo build
4747
run: cargo build --release

src/lib.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@ use xcap::{
55
Monitor, Window,
66
};
77

8-
fn normalized(filename: &str) -> String {
9-
filename
10-
.replace("|", "")
11-
.replace("\\", "")
12-
.replace(":", "")
13-
.replace("/", "")
14-
}
8+
159
pub struct ImageData {
1610
image: Vec<u8>,
1711
width: u32,

0 commit comments

Comments
 (0)