diff --git a/build.mjs b/build.mjs
index ec30b1d..a46be20 100644
--- a/build.mjs
+++ b/build.mjs
@@ -1,11 +1,11 @@
/* eslint-disable @typescript-eslint/no-unsafe-call */
-import * as esbuild from "esbuild";
import autoprefixer from "autoprefixer";
-import postcssPresetEnv from "postcss-preset-env";
+import * as esbuild from "esbuild";
import { sassPlugin } from "esbuild-sass-plugin";
import * as fs from "fs";
import * as fse from "fs-extra/esm";
import postcss from "postcss";
+import postcssPresetEnv from "postcss-preset-env";
const postcssPlugins = [autoprefixer(), postcssPresetEnv({ stage: 0 })];
@@ -34,6 +34,7 @@ let ctx = await esbuild.context({
});
if (!fs.existsSync("out")) fs.mkdirSync("out");
fs.copyFileSync("./index.html", "./out/index.html");
+fs.copyFileSync("./manifest.json", "./out/manifest.json");
fse.copySync("./media", "./out/media");
if (process.argv[2] == "prod") {
diff --git a/index.html b/index.html
index 0b09933..211bea3 100644
--- a/index.html
+++ b/index.html
@@ -9,7 +9,8 @@
-
+
+
diff --git a/manifest.json b/manifest.json
new file mode 100644
index 0000000..1a47250
--- /dev/null
+++ b/manifest.json
@@ -0,0 +1,24 @@
+{
+ "name": "MRT City Map",
+ "description": "A detailed map of the Minecart Rapid Transit server, inspired by OpenStreetMap",
+ "icons": [
+ {
+ "src": "/media/map512.png",
+ "type": "image/png",
+ "sizes": "512x512"
+ },
+ {
+ "src": "/media/map192.png",
+ "type": "image/png",
+ "sizes": "192x192"
+ }
+ ],
+ "id": "/",
+ "start_url": "/",
+ "background_color": "#ccc",
+ "display": "minimal-ui",
+ "scope": "/",
+ "theme_color": "#ccc",
+ "shortcuts": [],
+ "screenshots": []
+}
\ No newline at end of file
diff --git a/media/map.png b/media/map.png
deleted file mode 100644
index fa979b2..0000000
Binary files a/media/map.png and /dev/null differ
diff --git a/media/map192.png b/media/map192.png
new file mode 100644
index 0000000..7ed09fc
Binary files /dev/null and b/media/map192.png differ
diff --git a/media/map512.png b/media/map512.png
new file mode 100644
index 0000000..dee8c06
Binary files /dev/null and b/media/map512.png differ