electron/atom/browser/default_app/index.html

36 lines
975 B
HTML

<html>
<head>
<title>Atom Shell</title>
<style></style>
</head>
<body>
<script>
var execPath = require('remote').process.execPath;
var command = execPath + ' path-to-your-app';
var openWiki = function() {
require('shell').openExternal('https://github.com/atom/atom-shell/blob/master/docs/tutorial/quick-start.md');
}
</script>
<h1>Welcome to Atom Shell!</h1>
<p>
Atom Shell is a cross-platform desktop application shell that enables you to
build native like applications with node.js and web page engine of Chromium.
</p>
<p>
To run your app with atom-shell, execute the following command under your
Console (or Terminal):
</p>
<script>document.write('<pre>' + command + '</pre>')</script>
<p>
The <code>path-to-your-app</code> should be the path to your own atom-shell
app, you can read the <a href="javascript:openWiki()">Quick Start</a> guide
in atom-shell's docs on how to write one.
</p>
</body>
</html>