This commit is contained in:
root 2023-11-07 00:02:17 +02:00
parent 5bb76f5204
commit b2af9b8e46
17 changed files with 64 additions and 64 deletions

View File

@ -27,16 +27,16 @@
touch-action: none; touch-action: none;
} }
</style> </style>
<script src="/static/js-dos/src/js-dos.js"></script> <script src="src/js-dos.js"></script>
<link href="/static/js-dos/src/js-dos.css" rel="stylesheet"> <link href="src/js-dos.css" rel="stylesheet">
</head> </head>
<body> <body>
<div id="jsdos"></div> <div id="jsdos"></div>
<script> <script>
let bundleUrl = "https://www.ngtech.co.il/static/js-dos/games/ADD.zip"; let bundleUrl = "games/ADD.zip";
let clientId = null; let clientId = null;
emulators.pathPrefix = "/static/js-dos/src/"; emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), { Dos(document.getElementById("jsdos"), {
hardware: window.hardware, hardware: window.hardware,
withNetworkingApi: false, withNetworkingApi: false,

View File

@ -27,16 +27,16 @@
touch-action: none; touch-action: none;
} }
</style> </style>
<script src="/static/js-dos/src/js-dos.js"></script> <script src="src/js-dos.js"></script>
<link href="/static/js-dos/src/js-dos.css" rel="stylesheet"> <link href="src/js-dos.css" rel="stylesheet">
</head> </head>
<body> <body>
<div id="jsdos"></div> <div id="jsdos"></div>
<script> <script>
let bundleUrl = "https://www.ngtech.co.il/static/js-dos/games/ALEF1.zip"; let bundleUrl = "games/ALEF1.zip";
let clientId = null; let clientId = null;
emulators.pathPrefix = "/static/js-dos/src/"; emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), { Dos(document.getElementById("jsdos"), {
hardware: window.hardware, hardware: window.hardware,
withNetworkingApi: false, withNetworkingApi: false,

View File

@ -27,16 +27,16 @@
touch-action: none; touch-action: none;
} }
</style> </style>
<script src="/static/js-dos/src/js-dos.js"></script> <script src="src/js-dos.js"></script>
<link href="/static/js-dos/src/js-dos.css" rel="stylesheet"> <link href="src/js-dos.css" rel="stylesheet">
</head> </head>
<body> <body>
<div id="jsdos"></div> <div id="jsdos"></div>
<script> <script>
let bundleUrl = "https://www.ngtech.co.il/static/js-dos/games/ALEF2.zip"; let bundleUrl = "games/ALEF2.zip";
let clientId = null; let clientId = null;
emulators.pathPrefix = "/static/js-dos/src/"; emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), { Dos(document.getElementById("jsdos"), {
hardware: window.hardware, hardware: window.hardware,
withNetworkingApi: false, withNetworkingApi: false,

View File

@ -27,16 +27,16 @@
touch-action: none; touch-action: none;
} }
</style> </style>
<script src="/static/js-dos/src/js-dos.js"></script> <script src="src/js-dos.js"></script>
<link href="/static/js-dos/src/js-dos.css" rel="stylesheet"> <link href="src/js-dos.css" rel="stylesheet">
</head> </head>
<body> <body>
<div id="jsdos"></div> <div id="jsdos"></div>
<script> <script>
let bundleUrl = "https://www.ngtech.co.il/static/js-dos/games/ASTRO.zip"; let bundleUrl = "games/ASTRO.zip";
let clientId = null; let clientId = null;
emulators.pathPrefix = "/static/js-dos/src/"; emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), { Dos(document.getElementById("jsdos"), {
hardware: window.hardware, hardware: window.hardware,
withNetworkingApi: false, withNetworkingApi: false,

View File

@ -27,16 +27,16 @@
touch-action: none; touch-action: none;
} }
</style> </style>
<script src="/static/js-dos/src/js-dos.js"></script> <script src="src/js-dos.js"></script>
<link href="/static/js-dos/src/js-dos.css" rel="stylesheet"> <link href="src/js-dos.css" rel="stylesheet">
</head> </head>
<body> <body>
<div id="jsdos"></div> <div id="jsdos"></div>
<script> <script>
let bundleUrl = "https://www.ngtech.co.il/static/js-dos/games/KIVUN.zip"; let bundleUrl = "games/KIVUN.zip";
let clientId = null; let clientId = null;
emulators.pathPrefix = "/static/js-dos/src/"; emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), { Dos(document.getElementById("jsdos"), {
hardware: window.hardware, hardware: window.hardware,
withNetworkingApi: false, withNetworkingApi: false,

View File

@ -27,16 +27,16 @@
touch-action: none; touch-action: none;
} }
</style> </style>
<script src="/static/js-dos/src/js-dos.js"></script> <script src="src/js-dos.js"></script>
<link href="/static/js-dos/src/js-dos.css" rel="stylesheet"> <link href="src/js-dos.css" rel="stylesheet">
</head> </head>
<body> <body>
<div id="jsdos"></div> <div id="jsdos"></div>
<script> <script>
let bundleUrl = "https://www.ngtech.co.il/static/js-dos/games/MATH.zip"; let bundleUrl = "games/MATH.zip";
let clientId = null; let clientId = null;
emulators.pathPrefix = "/static/js-dos/src/"; emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), { Dos(document.getElementById("jsdos"), {
hardware: window.hardware, hardware: window.hardware,
withNetworkingApi: false, withNetworkingApi: false,

View File

@ -27,16 +27,16 @@
touch-action: none; touch-action: none;
} }
</style> </style>
<script src="/static/js-dos/src/js-dos.js"></script> <script src="src/js-dos.js"></script>
<link href="/static/js-dos/src/js-dos.css" rel="stylesheet"> <link href="src/js-dos.css" rel="stylesheet">
</head> </head>
<body> <body>
<div id="jsdos"></div> <div id="jsdos"></div>
<script> <script>
let bundleUrl = "https://www.ngtech.co.il/static/js-dos/games/MULTI.zip"; let bundleUrl = "games/MULTI.zip";
let clientId = null; let clientId = null;
emulators.pathPrefix = "/static/js-dos/src/"; emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), { Dos(document.getElementById("jsdos"), {
hardware: window.hardware, hardware: window.hardware,
withNetworkingApi: false, withNetworkingApi: false,

View File

@ -27,16 +27,16 @@
touch-action: none; touch-action: none;
} }
</style> </style>
<script src="/static/js-dos/src/js-dos.js"></script> <script src="src/js-dos.js"></script>
<link href="/static/js-dos/src/js-dos.css" rel="stylesheet"> <link href="src/js-dos.css" rel="stylesheet">
</head> </head>
<body> <body>
<div id="jsdos"></div> <div id="jsdos"></div>
<script> <script>
let bundleUrl = "https://www.ngtech.co.il/static/js-dos/games/READ.zip"; let bundleUrl = "games/READ.zip";
let clientId = null; let clientId = null;
emulators.pathPrefix = "/static/js-dos/src/"; emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), { Dos(document.getElementById("jsdos"), {
hardware: window.hardware, hardware: window.hardware,
withNetworkingApi: false, withNetworkingApi: false,

View File

@ -27,16 +27,16 @@
touch-action: none; touch-action: none;
} }
</style> </style>
<script src="/static/js-dos/src/js-dos.js"></script> <script src="src/js-dos.js"></script>
<link href="/static/js-dos/src/js-dos.css" rel="stylesheet"> <link href="src/js-dos.css" rel="stylesheet">
</head> </head>
<body> <body>
<div id="jsdos"></div> <div id="jsdos"></div>
<script> <script>
let bundleUrl = "https://www.ngtech.co.il/static/js-dos/games/SHEVER.zip"; let bundleUrl = "games/SHEVER.zip";
let clientId = null; let clientId = null;
emulators.pathPrefix = "/static/js-dos/src/"; emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), { Dos(document.getElementById("jsdos"), {
hardware: window.hardware, hardware: window.hardware,
withNetworkingApi: false, withNetworkingApi: false,

View File

@ -27,16 +27,16 @@
touch-action: none; touch-action: none;
} }
</style> </style>
<script src="/static/js-dos/src/js-dos.js"></script> <script src="src/js-dos.js"></script>
<link href="/static/js-dos/src/js-dos.css" rel="stylesheet"> <link href="src/js-dos.css" rel="stylesheet">
</head> </head>
<body> <body>
<div id="jsdos"></div> <div id="jsdos"></div>
<script> <script>
let bundleUrl = "https://www.ngtech.co.il/static/js-dos/games/THINK1.zip"; let bundleUrl = "games/THINK1.zip";
let clientId = null; let clientId = null;
emulators.pathPrefix = "/static/js-dos/src/"; emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), { Dos(document.getElementById("jsdos"), {
hardware: window.hardware, hardware: window.hardware,
withNetworkingApi: false, withNetworkingApi: false,

View File

@ -27,16 +27,16 @@
touch-action: none; touch-action: none;
} }
</style> </style>
<script src="/static/js-dos/src/js-dos.js"></script> <script src="src/js-dos.js"></script>
<link href="/static/js-dos/src/js-dos.css" rel="stylesheet"> <link href="src/js-dos.css" rel="stylesheet">
</head> </head>
<body> <body>
<div id="jsdos"></div> <div id="jsdos"></div>
<script> <script>
let bundleUrl = "https://www.ngtech.co.il/static/js-dos/games/THINK2.zip"; let bundleUrl = "games/THINK2.zip";
let clientId = null; let clientId = null;
emulators.pathPrefix = "/static/js-dos/src/"; emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), { Dos(document.getElementById("jsdos"), {
hardware: window.hardware, hardware: window.hardware,
withNetworkingApi: false, withNetworkingApi: false,

View File

@ -27,16 +27,16 @@
touch-action: none; touch-action: none;
} }
</style> </style>
<script src="/static/js-dos/src/js-dos.js"></script> <script src="src/js-dos.js"></script>
<link href="/static/js-dos/src/js-dos.css" rel="stylesheet"> <link href="src/js-dos.css" rel="stylesheet">
</head> </head>
<body> <body>
<div id="jsdos"></div> <div id="jsdos"></div>
<script> <script>
let bundleUrl = "https://www.ngtech.co.il/static/js-dos/games/TRON.zip"; let bundleUrl = "games/TRON.zip";
let clientId = null; let clientId = null;
emulators.pathPrefix = "/static/js-dos/src/"; emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), { Dos(document.getElementById("jsdos"), {
hardware: window.hardware, hardware: window.hardware,
withNetworkingApi: false, withNetworkingApi: false,

View File

@ -27,16 +27,16 @@
touch-action: none; touch-action: none;
} }
</style> </style>
<script src="/static/js-dos/src/js-dos.js"></script> <script src="src/js-dos.js"></script>
<link href="/static/js-dos/src/js-dos.css" rel="stylesheet"> <link href="src/js-dos.css" rel="stylesheet">
</head> </head>
<body> <body>
<div id="jsdos"></div> <div id="jsdos"></div>
<script> <script>
let bundleUrl = "https://www.ngtech.co.il/static/js-dos/games/WORDS.zip"; let bundleUrl = "games/WORDS.zip";
let clientId = null; let clientId = null;
emulators.pathPrefix = "/static/js-dos/src/"; emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), { Dos(document.getElementById("jsdos"), {
hardware: window.hardware, hardware: window.hardware,
withNetworkingApi: false, withNetworkingApi: false,

View File

@ -27,16 +27,16 @@
touch-action: none; touch-action: none;
} }
</style> </style>
<script src="/static/js-dos/src/js-dos.js"></script> <script src="src/js-dos.js"></script>
<link href="/static/js-dos/src/js-dos.css" rel="stylesheet"> <link href="src/js-dos.css" rel="stylesheet">
</head> </head>
<body> <body>
<div id="jsdos"></div> <div id="jsdos"></div>
<script> <script>
let bundleUrl = "https://www.ngtech.co.il/static/js-dos/games/aladdin.jsdos"; let bundleUrl = "games/aladdin.jsdos";
let clientId = null; let clientId = null;
emulators.pathPrefix = "/static/js-dos/src/"; emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), { Dos(document.getElementById("jsdos"), {
hardware: window.hardware, hardware: window.hardware,
withNetworkingApi: false, withNetworkingApi: false,

View File

@ -27,8 +27,8 @@
touch-action: none; touch-action: none;
} }
</style> </style>
<script src="/static/js-dos/src/js-dos.js"></script> <script src="src/js-dos.js"></script>
<link href="/static/js-dos/src/js-dos.css" rel="stylesheet"> <link href="src/js-dos.css" rel="stylesheet">
</head> </head>
<body> <body>
@ -36,7 +36,7 @@
<script> <script>
let bundleUrl = "###GAME_URL###"; let bundleUrl = "###GAME_URL###";
let clientId = null; let clientId = null;
emulators.pathPrefix = "/static/js-dos/src/"; emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), { Dos(document.getElementById("jsdos"), {
hardware: window.hardware, hardware: window.hardware,
withNetworkingApi: false, withNetworkingApi: false,

View File

@ -27,16 +27,16 @@
touch-action: none; touch-action: none;
} }
</style> </style>
<script src="/static/js-dos/src/js-dos.js"></script> <script src="src/js-dos.js"></script>
<link href="/static/js-dos/src/js-dos.css" rel="stylesheet"> <link href="src/js-dos.css" rel="stylesheet">
</head> </head>
<body> <body>
<div id="jsdos"></div> <div id="jsdos"></div>
<script> <script>
let bundleUrl = "https://www.ngtech.co.il/static/js-dos/games/points.zip"; let bundleUrl = "games/points.zip";
let clientId = null; let clientId = null;
emulators.pathPrefix = "/static/js-dos/src/"; emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), { Dos(document.getElementById("jsdos"), {
hardware: window.hardware, hardware: window.hardware,
withNetworkingApi: false, withNetworkingApi: false,

View File

@ -7,7 +7,7 @@ GAME_ROOT_PATH="$2"
ZIP_PATH="$3" ZIP_PATH="$3"
GAMES_MENU_PATH="/var/www/ngtech.co.il/static/js-dos" GAMES_MENU_PATH="/var/www/ngtech.co.il/static/js-dos"
GAMES_URL_ROOT="https://www.ngtech.co.il/static/js-dos/games" GAMES_URL_ROOT="games"
for arg in GAME_NAME GAME_ROOT_PATH ZIP_PATH for arg in GAME_NAME GAME_ROOT_PATH ZIP_PATH
do do