forked from moose-team/friends
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
24 lines (24 loc) · 713 Bytes
/
index.html
File metadata and controls
24 lines (24 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<html>
<head>
<title>Friends</title>
<link rel="stylesheet" href="node_modules/highlight.js/styles/solarized_light.css" charset="utf-8">
<link rel="stylesheet" href="dist/app.css" charset="utf-8">
</head>
<body>
<audio src="static/startup.ogg" autoplay></audio>
<script>
if (typeof require !== 'function') {
// If we're not in the electron env
var script = document.createElement('script')
script.src = 'app.js'
script.onload = function() {
new window.App(document.body)
}
document.currentScript.parentNode.insertBefore(script, document.currentScript)
} else {
// If we are in the electron env
require('./app.js')(document.body)
}
</script>
</body>
</html>