diff --git a/app/main/launcher/index.html b/app/main/launcher/index.html index f2bcccec..6d2ec762 100644 --- a/app/main/launcher/index.html +++ b/app/main/launcher/index.html @@ -7,188 +7,11 @@ + - +
diff --git a/app/main/launcher/launcher.js b/app/main/launcher/launcher.js new file mode 100644 index 00000000..32a261f5 --- /dev/null +++ b/app/main/launcher/launcher.js @@ -0,0 +1,174 @@ +var {remote, ipcRenderer, shell} = require('electron'), + {dialog, webContents} = remote.require('electron'), + settings = remote.require('./main/settings'), + packageInfos = remote.require('./package.json') + packageVersion = packageInfos.version, + packageUrl = packageInfos.repository.url, + argv_remote = settings.read('argv'), + argv = {}, + $ = require('jquery-slim') + +for (i in argv_remote) { + argv[i] = argv_remote[i] +} + +$(document).ready(()=>{ + + var form = $(` +