Save attachments with macOS quarantine attribute
* Attachments: Always save file to downloads directory, show toast * Add new build:dev command for casual builds
This commit is contained in:
parent
65befde0fa
commit
1bf9ca7233
11 changed files with 202 additions and 52 deletions
|
@ -119,6 +119,8 @@ function initializeMigrations({
|
|||
getPath,
|
||||
getStickersPath,
|
||||
getTempPath,
|
||||
openFileInDownloads,
|
||||
writeToDownloads,
|
||||
} = Attachments;
|
||||
const {
|
||||
getImageDimensions,
|
||||
|
@ -187,11 +189,13 @@ function initializeMigrations({
|
|||
loadPreviewData,
|
||||
loadQuoteData,
|
||||
loadStickerData,
|
||||
openFileInDownloads,
|
||||
readAttachmentData,
|
||||
readDraftData,
|
||||
readStickerData,
|
||||
readTempData,
|
||||
run,
|
||||
writeToDownloads,
|
||||
processNewAttachment: attachment =>
|
||||
MessageType.processNewAttachment(attachment, {
|
||||
writeNewAttachmentData,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue