diff --git a/build.js b/build.js index 73ddfd6..2eec240 100644 --- a/build.js +++ b/build.js @@ -3,6 +3,7 @@ const fs = require('fs'); if (!fs.existsSync("./build")) fs.mkdirSync("./build"); fs.cpSync("./static/", "./build/", { recursive: true }); +fs.cpSync("./assets/", "./build/assets/", { recursive: true }); fs.writeFileSync("./build/index.html", fs.readFileSync("./build/index.html").toString().replace(/buildTimestamp/g, Date.now())); let script = fs.readFileSync('./game/latest.js', { encoding: 'utf8' }).replace("\n", "").trim(); diff --git a/static/fx_core.js b/static/fx_core.js index 65fe410..b674686 100644 --- a/static/fx_core.js +++ b/static/fx_core.js @@ -1,5 +1,5 @@ -const fx_version = '0.6.1.4'; // FX Client Version -const fx_update = 'Feb 24'; // FX Client Last Updated +const fx_version = '0.6.1.5'; // FX Client Version +const fx_update = 'Feb 25'; // FX Client Last Updated if (localStorage.getItem("fx_winCount") == undefined || localStorage.getItem("fx_winCount") == null) { var wins_counter = 0; diff --git a/static/index.html b/static/index.html index 5672f47..4ec8987 100644 --- a/static/index.html +++ b/static/index.html @@ -15,7 +15,9 @@ + + diff --git a/static/manifest.json b/static/manifest.json new file mode 100644 index 0000000..190b259 --- /dev/null +++ b/static/manifest.json @@ -0,0 +1,19 @@ +{ + "name": "FX Client", + "short_name": "FXclient", + "start_url": ".", + "display": "standalone", + "background_color": "#000000", + "description": "Client for Territorial.io", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64" + }, + { + "src": "assets/logo.png", + "sizes": "any", + "type": "image/png" + } + ] +} \ No newline at end of file