Skip to content

Commit

Permalink
Merge pull request #147 from ReagentX/feat/cs/arroyo-lupine-fixes
Browse files Browse the repository at this point in the history
Feat/cs/arroyo lupine fixes
  • Loading branch information
ReagentX committed Jul 29, 2023
2 parents 5072084 + 483788d commit c73bc4d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Documentation for the library is located [here](imessage-database/README.md).

### Supported Features

This crate supports every iMessage feature as of MacOS 13.4.1 (22F82) and iOS 16.5.1 (20F75):
This crate supports every iMessage feature as of MacOS 13.5 (22G74) and iOS 16.6 (20G75):

- Multi-part messages
- Replies/Threads
Expand Down
4 changes: 2 additions & 2 deletions imessage-exporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ The [releases page](https://github.com/ReagentX/imessage-exporter/releases) prov
-f, --format <txt, html>
Specify a single file format to export messages into
-c, --copy-type <compatible, efficient, disabled>
-c, --copy-method <compatible, efficient, disabled>
Specify a method to use when copying message attachments
Compatible will convert HEIC files to JPEG
Efficient will copy files without converting anything
If omitted, the default is `Compatible`
If omitted, the default is `disabled`
-p, --db-path <path/to/source>
Specify a custom path for the iMessage database location
Expand Down
5 changes: 2 additions & 3 deletions imessage-exporter/src/app/attachment_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ impl AttachmentManager {
return None;
}

let ext = from.extension()?;

// Create a path to copy the file to
let mut to = config.attachment_path();

Expand All @@ -68,7 +66,8 @@ impl AttachmentManager {
// Add a random filename
to.push(Uuid::new_v4().to_string());

to.set_extension(ext);
// Set the new file's extension to the original one
to.set_extension(attachment.extension()?);

match self {
AttachmentManager::Compatible => match &config.converter {
Expand Down

0 comments on commit c73bc4d

Please sign in to comment.