Skip to content

Commit

Permalink
Upgrade Electron to 20 & Enable HEVC (#107)
Browse files Browse the repository at this point in the history
Close #83
  • Loading branch information
maoqxxmm committed Nov 24, 2022
1 parent 7528135 commit 5b9f02b
Show file tree
Hide file tree
Showing 4 changed files with 169 additions and 164 deletions.
2 changes: 2 additions & 0 deletions electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ function handleFile(req, callback) {
});
}

app.commandLine.appendSwitch("enable-features", "PlatformHEVCDecoderSupport");

app.whenReady().then(() => {
// Register protocols.
protocol.registerFileProtocol(PROTOCOL, handleFile);
Expand Down
Loading

0 comments on commit 5b9f02b

Please sign in to comment.