mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-21 07:58:04 +03:00
30 lines
791 B
HTML
30 lines
791 B
HTML
<!DOCTYPE html>
|
|
<html style="background: #fff">
|
|
<head>
|
|
<title></title>
|
|
|
|
<script>
|
|
window.onload = function() {
|
|
var path = require('path');
|
|
var currentWindow = require('remote').getCurrentWindow();
|
|
try {
|
|
require('vm-compatibility-layer');
|
|
require('coffee-script').register();
|
|
require(path.resolve(__dirname, '..', 'src', 'coffee-cache')).register();
|
|
require(currentWindow.loadSettings.bootstrapScript);
|
|
currentWindow.emit('window:loaded');
|
|
}
|
|
catch (error) {
|
|
currentWindow.setSize(800, 600);
|
|
currentWindow.center();
|
|
currentWindow.show();
|
|
currentWindow.openDevTools();
|
|
console.error(error.stack || error);
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body tabindex="-1">
|
|
</body>
|
|
</html>
|