pokemon-showdown-client/desktop/index.html
Ben Davies e3fcaa492c
Properly set the encoding to UTF-8 on all HTML pages (#1467)
This adds the BOM to all HTTP pages as per the HTML5 spec and ensures
all pages use UTF-8 as their meta charset (which is still kept for
compatibility with older browsers).
2020-02-23 00:13:56 -08:00

18 lines
383 B
HTML

<!DOCTYPE html>
<meta charset="UTF-8" />
<script>
var gui = require('nw.gui');
var win = gui.Window.get();
if (process.platform === 'darwin') {
var gui = require('nw.gui');
var mb = new gui.Menu({type:"menubar"});
mb.createMacBuiltin("Pokemon Showdown");
win.menu = mb;
}
win.maximize();
win.show();
document.location.replace('https://play.pokemonshowdown.com/');
</script>