Fixed build

This commit is contained in:
Devine Lu Linvega 2017-11-06 13:22:37 +13:00
parent e09894af69
commit 8497264b01

View File

@ -14,13 +14,8 @@
</head> </head>
<body> <body>
<script> <script>
try{ const {dialog,app} = require('electron').remote;
const {dialog,app} = require('electron').remote; const fs = require('fs');
const fs = require('fs');
}
catch(err){
console.log("standalone")
}
dotgrid = new Dotgrid(300,300,30,30,5,5, 10,"square","#000000"); dotgrid = new Dotgrid(300,300,30,30,5,5, 10,"square","#000000");
dotgrid.install(); dotgrid.install();