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:
Scott Nonnenberg 2020-01-09 11:57:43 -08:00 committed by Ken Powers
parent 65befde0fa
commit 1bf9ca7233
11 changed files with 202 additions and 52 deletions

View file

@ -11,6 +11,7 @@
templateName: 'toast',
initialize() {
this.$el.hide();
this.timeout = 2000;
},
close() {
@ -24,8 +25,9 @@
_.result(this, 'render_attributes', '')
)
);
this.$el.attr('tabIndex', 0);
this.$el.show();
setTimeout(this.close.bind(this), 2000);
setTimeout(this.close.bind(this), this.timeout);
},
});