We are working with Atom Shell (Currently known as electron) to wrap a web application as desktop app and having trouble making cross domain ajax calls due to CORS restriction.
If the webpage is loaded in "file://" mode and not served by an http server, you can make ajax calls by default.
If you still have troubles with CORS restrictions, you can set this option to the browser-window object :
var BrowserWindow = require('browser-window');
var win = new BrowserWindow({
webPreferences: { webSecurity: false }
});