diff --git a/.gitignore b/.gitignore index 03ecf0e..df47a0d 100755 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ node_modules/ # Development view/import/ +temp # Misc .vscode/ \ No newline at end of file diff --git a/dist/xash.dev.js b/dist/xash.dev.js deleted file mode 100755 index b0a2862..0000000 --- a/dist/xash.dev.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./src/index.js": -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ -/***/ (() => { - -eval("console.log('Hello, World!')\n\n//# sourceURL=webpack://xash93d/./src/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./src/index.js"](); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/import.sh b/import.sh index 236881e..157d52b 100755 --- a/import.sh +++ b/import.sh @@ -1,11 +1,13 @@ -cd subrepo/Xash3D-Emscripten -cp - client.js - icon.png - menu.js - mods.js - server.js - xash.html.mem - xash.js +#!/bin/sh - ../../view/import/ \ No newline at end of file +mkdir view/import +cd subrepo/Xash3D-Emscripten || exit +cp \ +client.js \ +icon.png \ +menu.js \ +mods.js \ +server.js \ +xash.html.mem \ +xash.js \ +../../view/import/ \ No newline at end of file diff --git a/view/launcher.css b/view/launcher.css deleted file mode 100644 index 3c434a5..0000000 --- a/view/launcher.css +++ /dev/null @@ -1,55 +0,0 @@ -:root { - --mod-height: 36px; -} - -html { - /* im not gonna write a preprocessor for the css so i'm refrencing an element here */ - background: #333 var(--trame); - background-size: 4px; - background-repeat: repeat; -} - -.mod { - display: flex; - padding: 1px; - box-sizing: content-box; - height: var(--mod-height) -} - -.mod .info { - border-right: 1px solid #666; - flex: 1; - align-self: center; - margin: 2px 0 2px 5px; -} - -.info h4 { - font-size: 16px; - margin: 0 -} - -.mod .button { - width: var(--mod-height); - height: var(--mod-height); - box-sizing: content-box; - background-image: var(--xash3d-play); - background-size: 20px 20px; - background-repeat: no-repeat; - background-position: center; -} - -.button:before { - content: " "; - float: left; - padding-top: 100%; -} - -.mod .button:active { - opacity: .6; -} - -.version-info { - color: #555; - text-align: center; - height: 16px; -} \ No newline at end of file