diff --git a/min/screenshot.min.js b/min/screenshot.min.js
index b2af421aa..aa83f2c9a 100644
--- a/min/screenshot.min.js
+++ b/min/screenshot.min.js
@@ -1 +1 @@
-(()=>(e,t)=>{function i(e,t,i){if(t in e){Object.defineProperty(e,t,{value:i,enumerable:true,configurable:true,writable:true})}else{e[t]=i}return e}const{getFriendlyTitle:s}=t.import("title");const n=document.createElement("canvas");class o{constructor(e,t,s=false){i(this,"video",void 0);i(this,"url","");i(this,"videoTime",void 0);i(this,"blob",void 0);i(this,"timeStamp",(new Date).getTime());i(this,"withDanmaku",false);this.video=e;this.videoTime=t;this.withDanmaku=s;this.createUrl()}async createUrl(){const e=dq(".bilibili-player-video-wrap");const t=e.getBoundingClientRect();const i=t.width/t.height;const s=this.video.videoWidth/this.video.videoHeight;if(i>=s){n.height=this.video.videoHeight;n.width=this.video.videoHeight*i}else{n.width=this.video.videoWidth;n.height=this.video.videoWidth/i}const o=n.getContext("2d");if(o===null){logError("视频截图失败: canvas 未创建或创建失败.");return}const r=(n.width-this.video.videoWidth)/2;const a=(n.height-this.video.videoHeight)/2;o.drawImage(this.video,r,a);if(this.withDanmaku){const e=dq("canvas.bilibili-player-video-danmaku");if(e!==null){o.drawImage(e,0,0,n.width,n.height)}}try{n.toBlob((e=>{if(e===null){logError("视频截图失败: 创建 blob 失败.");return}this.blob=e;this.url=URL.createObjectURL(e)}),"image/png")}catch(e){logError("视频截图失败: 操作被浏览器阻止. 这通常发生于电影的试看片段, 请在正片尝试使用截图功能.")}}get filename(){return`${s()} @${this.time.replace(/:/g,"-")} ${this.timeStamp.toString()}.png`}get id(){return this.videoTime.toString()+this.timeStamp.toString()}get time(){const e=Math.trunc(this.videoTime/3600).toString();const t=Math.trunc(this.videoTime/60).toString();const i=(this.videoTime%60).toFixed(2);if(e==="0"){return`${t.padStart(2,"0")}:${i.padStart(5,"0")}`}return`${e}:${t.padStart(2,"0")}:${i.padStart(5,"0")}`}revoke(){URL.revokeObjectURL(this.url)}}const r=(e,t=false)=>{const i=e.currentTime;return new o(e,i,t)};let a={screenshots:[]};Observer.videoChange((async()=>{if(!dq(".video-screenshot-container")){t.applyStyle("videoScreenshotStyle");document.body.insertAdjacentHTML("beforeend",`\n
\n`);Vue.component("video-screenshot",{props:{objectUrl:String,filename:String,time:String},template:`\n\n
![]()
\n
\n
\n
\n
\n`,methods:{discard(){this.$emit("discard")},save(){this.$el.querySelector(".link").click();this.discard()}}});a=new Vue({el:".video-screenshot-container",data:{screenshots:[],batchFilename:s()+".zip"},methods:{discard(e){this.screenshots.splice(this.screenshots.indexOf(e),1);e.revoke()},async saveAll(){const{DownloadPackage:e}=await t.importAsync("download-package");const i=new e;this.screenshots.forEach((e=>{i.add(e.filename,e.blob,{date:new Date(e.timeStamp)})}));await i.emit();this.discardAll()},discardAll(){this.screenshots.forEach((e=>e.revoke()));this.screenshots=[]}},computed:{showBatch(){return this.screenshots.length>=2}}})}const i=await SpinQuery.select("#bilibili-player video");if(i===null){return}const n=await SpinQuery.select(".bilibili-player-video-time");if(n===null||document.querySelector(".video-take-screenshot")){return}const o=`\n\n\n
`;n.insertAdjacentHTML("afterend",o);const c=document.querySelector(".video-take-screenshot");c.addEventListener("click",(async e=>{const t=await SpinQuery.select("#bilibili-player video");const i=r(t,e.shiftKey);a.screenshots.unshift(i)}));document.addEventListener("keydown",(e=>{if(document.activeElement&&["input","textarea"].includes(document.activeElement.nodeName.toLowerCase())){return}if(e.ctrlKey&&e.altKey&&e.key.toLowerCase()==="c"){e.stopPropagation();e.preventDefault();c.click()}}));if(e.touchVideoPlayer){document.querySelectorAll(".video-take-screenshot").forEach((e=>e.classList.add("touch")))}}));return{export:{takeScreenshot:r,screenShotsList:a},unload:()=>document.querySelectorAll(".bilibili-player-video-control-bottom .video-take-screenshot,.video-screenshot-container").forEach((e=>e.setAttribute("style","display: none !important"))),reload:()=>document.querySelectorAll(".bilibili-player-video-control-bottom .video-take-screenshot,.video-screenshot-container").forEach((e=>e.setAttribute("style","display: flex !important")))}})();
\ No newline at end of file
+(()=>(e,t)=>{function i(e,t,i){if(t in e){Object.defineProperty(e,t,{value:i,enumerable:true,configurable:true,writable:true})}else{e[t]=i}return e}const{getFriendlyTitle:s}=t.import("title");const n=document.createElement("canvas");class o{constructor(e,t,s=false){i(this,"video",void 0);i(this,"url","");i(this,"videoTime",void 0);i(this,"blob",void 0);i(this,"timeStamp",(new Date).getTime());i(this,"withDanmaku",false);this.video=e;this.videoTime=t;this.withDanmaku=s;this.createUrl()}async createUrl(){const e=dq(".bilibili-player-video-wrap");const t=e.getBoundingClientRect();const i=t.width/t.height;const s=this.video.videoWidth/this.video.videoHeight;if(i>=s){n.height=this.video.videoHeight;n.width=this.video.videoHeight*i}else{n.width=this.video.videoWidth;n.height=this.video.videoWidth/i}const o=n.getContext("2d");if(o===null){logError("视频截图失败: canvas 未创建或创建失败.");return}const r=(n.width-this.video.videoWidth)/2;const a=(n.height-this.video.videoHeight)/2;o.drawImage(this.video,r,a);if(this.withDanmaku){const e=dq("canvas.bilibili-player-video-danmaku");if(e!==null){o.drawImage(e,0,0,n.width,n.height)}}try{n.toBlob((e=>{if(e===null){logError("视频截图失败: 创建 blob 失败.");return}this.blob=e;this.url=URL.createObjectURL(e)}),"image/png")}catch(e){logError("视频截图失败: 操作被浏览器阻止. 这通常发生于电影的试看片段, 请在正片尝试使用截图功能.")}}get filename(){return`${s()} @${this.time.replace(/:/g,"-")} ${this.timeStamp.toString()}.png`}get id(){return this.videoTime.toString()+this.timeStamp.toString()}get time(){const e=Math.trunc(this.videoTime/3600).toString();const t=Math.trunc(this.videoTime/60).toString();const i=(this.videoTime%60).toFixed(2);if(e==="0"){return`${t.padStart(2,"0")}:${i.padStart(5,"0")}`}return`${e}:${t.padStart(2,"0")}:${i.padStart(5,"0")}`}revoke(){URL.revokeObjectURL(this.url)}}const r=(e,t=false)=>{const i=e.currentTime;return new o(e,i,t)};let a={screenshots:[]};Observer.videoChange((async()=>{if(!dq(".video-screenshot-container")){t.applyStyle("videoScreenshotStyle");document.body.insertAdjacentHTML("beforeend",`\n\n`);Vue.component("video-screenshot",{props:{objectUrl:String,filename:String,time:String},template:`\n\n
![]()
\n
\n
\n
\n
\n`,methods:{discard(){this.$emit("discard")},save(){this.$el.querySelector(".link").click();this.discard()}}});a=new Vue({el:".video-screenshot-container",data:{screenshots:[],batchFilename:s()+".zip"},methods:{discard(e){this.screenshots.splice(this.screenshots.indexOf(e),1);e.revoke()},async saveAll(){const{DownloadPackage:e}=await t.importAsync("download-package");const i=new e;this.screenshots.forEach((e=>{i.add(e.filename,e.blob,{date:new Date(e.timeStamp)})}));await i.emit(this.batchFilename);this.discardAll()},discardAll(){this.screenshots.forEach((e=>e.revoke()));this.screenshots=[]}},computed:{showBatch(){return this.screenshots.length>=2}}})}const i=await SpinQuery.select("#bilibili-player video");if(i===null){return}const n=await SpinQuery.select(".bilibili-player-video-time");if(n===null||document.querySelector(".video-take-screenshot")){return}const o=`\n\n\n
`;n.insertAdjacentHTML("afterend",o);const c=document.querySelector(".video-take-screenshot");c.addEventListener("click",(async e=>{const t=await SpinQuery.select("#bilibili-player video");const i=r(t,e.shiftKey);a.screenshots.unshift(i)}));document.addEventListener("keydown",(e=>{if(document.activeElement&&["input","textarea"].includes(document.activeElement.nodeName.toLowerCase())){return}if(e.ctrlKey&&e.altKey&&e.key.toLowerCase()==="c"){e.stopPropagation();e.preventDefault();c.click()}}));if(e.touchVideoPlayer){document.querySelectorAll(".video-take-screenshot").forEach((e=>e.classList.add("touch")))}}));return{export:{takeScreenshot:r,screenShotsList:a},unload:()=>document.querySelectorAll(".bilibili-player-video-control-bottom .video-take-screenshot,.video-screenshot-container").forEach((e=>e.setAttribute("style","display: none !important"))),reload:()=>document.querySelectorAll(".bilibili-player-video-control-bottom .video-take-screenshot,.video-screenshot-container").forEach((e=>e.setAttribute("style","display: flex !important")))}})();
\ No newline at end of file
diff --git a/src/video/screenshot/screenshot.ts b/src/video/screenshot/screenshot.ts
index 4308472bb..67ede2b7c 100644
--- a/src/video/screenshot/screenshot.ts
+++ b/src/video/screenshot/screenshot.ts
@@ -146,7 +146,7 @@ Observer.videoChange(async () => {
date: new Date(it.timeStamp),
})
})
- await pack.emit()
+ await pack.emit(this.batchFilename)
this.discardAll()
},
discardAll() {