Replace "Url" in API names with "URL"
This commit is contained in:
parent
8f56387bd9
commit
fbb8e61958
57 changed files with 251 additions and 212 deletions
|
@ -67,7 +67,7 @@ app.on('ready', function() {
|
|||
javascript: true // Test whether web-preferences crashes.
|
||||
},
|
||||
});
|
||||
window.loadUrl('file://' + __dirname + '/index.html');
|
||||
window.loadURL('file://' + __dirname + '/index.html');
|
||||
window.on('unresponsive', function() {
|
||||
var chosen = dialog.showMessageBox(window, {
|
||||
type: 'warning',
|
||||
|
@ -88,7 +88,7 @@ app.on('ready', function() {
|
|||
item.on('done', function(e, state) {
|
||||
window.webContents.send('download-done',
|
||||
state,
|
||||
item.getUrl(),
|
||||
item.getURL(),
|
||||
item.getMimeType(),
|
||||
item.getReceivedBytes(),
|
||||
item.getTotalBytes(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue