diff --git a/Server/assets/images/favicon.ico b/Server/assets/images/favicon.ico new file mode 100644 index 0000000..a47a9d0 Binary files /dev/null and b/Server/assets/images/favicon.ico differ diff --git a/package.json b/package.json index efafe7f..4d843a8 100644 --- a/package.json +++ b/package.json @@ -7,11 +7,13 @@ "build:ts": "npx babel Server/src --extensions \".ts\" --out-dir Server/obj/babel", "build:bundle": "npx browserify --debug --node Server/obj/babel/main.js > Server/obj/server.js", "build:exe": "npx nexe -t x64-14.15.3 -i Server/obj/server.js -o Server/bin/server.exe", + "build:icon": "cd node_modules/rcedit/bin && rcedit-x64.exe ../../../Server/bin/server.exe --set-icon ../../../Server/assets/images/favicon.ico", "launch": "node --trace-warnings Server/obj/server.js", "lint:fix": "npx eslint --fix \"./src/**/*.ts\"", "lint:check": "npx eslint \"./src/**/*.ts\"", "debug": "npm run build:ts && npm run build:bundle && npm run launch", - "release": "npm run build:ts && npm run build:bundle && npm run build:exe" + "release:all": "npm run build:ts && npm run build:bundle && npm run build:exe", + "release:win": "npm run release:all && npm run build:icon" }, "dependencies": { "source-map-support": "^0.5.0",