Skip to content

Commit

Permalink
refactor: linux系统的ffmpeg的下载地址调整为ffmpeg的官网
Browse files Browse the repository at this point in the history
  • Loading branch information
duan602728596 committed Jul 23, 2023
1 parent 1973fb4 commit 169fd56
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/48tools/src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ export const pcUserAgent: string = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15

const isWin: boolean = os.platform() === 'win32';
const isMac: boolean = os.platform() === 'darwin';
const isLinux: boolean = os.platform() === 'linux';

export const ffmpegInstallHtmlPage: string = ((): string => {
if (isWin) {
Expand All @@ -156,9 +155,5 @@ export const ffmpegInstallHtmlPage: string = ((): string => {
return 'https://evermeet.cx/ffmpeg/';
}

if (isLinux) {
return 'https://johnvansickle.com/ffmpeg/';
}

return 'https://www.ffmpeg.org/download.html';
})();

0 comments on commit 169fd56

Please sign in to comment.