mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-26 04:19:27 +08:00
🐛 修复复制文件bug
This commit is contained in:
@@ -35,6 +35,8 @@ export default () => {
|
||||
win.loadURL("app://./index.html");
|
||||
}
|
||||
|
||||
win.webContents.openDevTools();
|
||||
|
||||
protocol.interceptFileProtocol("image", (req, callback) => {
|
||||
const url = req.url.substr(8);
|
||||
callback(decodeURI(url));
|
||||
|
||||
Reference in New Issue
Block a user