🐛 #80 修复 win depd bug

This commit is contained in:
muwoo 2022-01-13 18:40:04 +08:00
parent 1e73ab5ee6
commit 417ab071df

View File

@ -34,9 +34,6 @@ export default () => {
// Load the index.html when not in development
win.loadURL("app://./index.html");
}
win.webContents.openDevTools();
protocol.interceptFileProtocol("image", (req, callback) => {
const url = req.url.substr(8);
callback(decodeURI(url));