Skip to content

Commit

Permalink
Merge pull request #286 from caorushizi/feature
Browse files Browse the repository at this point in the history
Feature
  • Loading branch information
caorushizi authored Sep 26, 2024
2 parents 58f5513 + 71ff1d2 commit 3a966ee
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
Binary file modified packages/main/bin/darwin/N_m3u8DL-RE
Binary file not shown.
Binary file modified packages/main/bin/linux/N_m3u8DL-RE
Binary file not shown.
Binary file modified packages/main/bin/win32/N_m3u8DL-RE.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/main/src/services/DownloadService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const processList: Schema[] = [
argsName: ["--custom-proxy"],
},
__common__: {
argsName: ["--no-log"],
argsName: ["--no-log", "--auto-select"],
},
},
consoleReg: {
Expand Down
4 changes: 2 additions & 2 deletions packages/main/src/services/WebviewService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ export default class WebviewService {
onDomReady = () => {
if (!this.view) return;
const pageInfo = this.getPageInfo();
this.sniffingHelper.update(pageInfo);
this.sniffingHelper.reset(pageInfo);
this.window.webContents.send("webview-dom-ready", pageInfo);
};

onDidNavigate = async () => {
if (!this.view) return;
const pageInfo = this.getPageInfo();
this.sniffingHelper.reset(pageInfo);
this.sniffingHelper.update(pageInfo);
this.window.webContents.send("webview-did-navigate", pageInfo);

try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export function DownloadItem({
percent={Math.round(Number(percent))}
strokeLinecap="butt"
/>
{speed}
<span className="flex-shrink-0">{speed}</span>
</div>
);
}
Expand Down

0 comments on commit 3a966ee

Please sign in to comment.