mirror of
https://github.com/rubickCenter/rubick
synced 2025-07-23 08:39:31 +08:00
🐛 #80 修复 win depd bug
This commit is contained in:
parent
1e73ab5ee6
commit
417ab071df
@ -34,9 +34,6 @@ export default () => {
|
|||||||
// Load the index.html when not in development
|
// Load the index.html when not in development
|
||||||
win.loadURL("app://./index.html");
|
win.loadURL("app://./index.html");
|
||||||
}
|
}
|
||||||
|
|
||||||
win.webContents.openDevTools();
|
|
||||||
|
|
||||||
protocol.interceptFileProtocol("image", (req, callback) => {
|
protocol.interceptFileProtocol("image", (req, callback) => {
|
||||||
const url = req.url.substr(8);
|
const url = req.url.substr(8);
|
||||||
callback(decodeURI(url));
|
callback(decodeURI(url));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user