Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename project #3

Merged
merged 4 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, windows-latest, macos-latest]
rust: [stable]
steps:
- uses: actions/checkout@v3
Expand Down
36 changes: 18 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "film_exif_fixer"
name = "photo_scan_metadata"
version = "0.1.0"
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Film Exif Fixer
# Photo Scan Metadata

## About

Expand Down
4 changes: 1 addition & 3 deletions src/utils/update_exif_metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ use snafu::prelude::*;
use std::io::Error as IOError;
#[cfg(target_os = "windows")]
use std::os::windows::process::CommandExt;
#[cfg(not(target_os = "windows"))]
use std::path::Path;
use std::path::PathBuf;
use std::process::{Command, Output};
#[cfg(target_os = "windows")]
use winapi::um::winbase::CREATE_NO_WINDOW;
Expand Down Expand Up @@ -67,7 +65,7 @@ pub fn spawn_exiftool(exiftool_path: &Path) -> Result<Command, Error> {
Ok(cmd)
}

pub fn exiftool(args: &ExifArgs, exiftool_path: &PathBuf) -> Result<(), Error> {
pub fn exiftool(args: &ExifArgs, exiftool_path: &Path) -> Result<(), Error> {
let mut cmd = spawn_exiftool(exiftool_path)?;

#[cfg(not(target_os = "windows"))]
Expand Down
Loading