Update v0.6.1.5; Add web app manifest

and add a meta viewport tag to the html page
archived
peshomir 2024-02-25 15:06:23 +02:00
parent b8f764cb6e
commit ad32a5b840
4 changed files with 24 additions and 2 deletions

View File

@ -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();

View File

@ -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;

View File

@ -15,7 +15,9 @@
<meta name="keywords"
content="territorial.io,territory games,territorial io,map games,conquest games,conquest game,david tschacher,territorial,territory game,io game,io games,territory.io,territory io,territory games io">
<meta name="author" content="MohsenEMX, peshomir,orlemley1, David Tschacher">
<meta name="viewport" content="width=device-width, maximum-scale=1">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="manifest" href="manifest.json" />
<meta name="og:image" content="https://mohsenemx.github.io/FXclient/favicon.ico" />
<meta property="og:url" content="https://mohsenemx.github.io/FXclient/">

View File

@ -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"
}
]
}