TEMPORARY: Comment out code that requires Electron 0.37.4
This commit is contained in:
@@ -30,14 +30,16 @@ function uninstall () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function installDarwin () {
|
function installDarwin () {
|
||||||
var electron = require('electron')
|
// TODO: Uncomment this once we upgrade past Electron 0.37.4.
|
||||||
var app = electron.app
|
|
||||||
|
|
||||||
// On OS X, only protocols that are listed in Info.plist can be set as the default
|
// var electron = require('electron')
|
||||||
// handler at runtime.
|
// var app = electron.app
|
||||||
app.setAsDefaultProtocolClient('magnet')
|
|
||||||
|
|
||||||
// File handlers are registered in the Info.plist.
|
// // On OS X, only protocols that are listed in Info.plist can be set as the default
|
||||||
|
// // handler at runtime.
|
||||||
|
// app.setAsDefaultProtocolClient('magnet')
|
||||||
|
|
||||||
|
// // File handlers are registered in the Info.plist.
|
||||||
}
|
}
|
||||||
|
|
||||||
function uninstallDarwin () {}
|
function uninstallDarwin () {}
|
||||||
|
|||||||
Reference in New Issue
Block a user