Allow web client to use unzipped QVMs

Compile the QVMs and automatically uses them when not using --preload-file.
This commit is contained in:
Zack Middleton committed 2024-06-11 04:40:08 -04:00
1 parent 41ec9ae05f
commit e6c0776d98
3 files changed
+5 -2

No files matched your search

+1
View File
@@ -14,6 +14,7 @@ if (window.location.protocol === 'file:') throw new Error('Unfortunately browser
const urlParams = new URLSearchParams(window.location.search);
const basegame = urlParams.get('basegame') || 'baseq3';
let generatedArguments = `
+set sv_pure 0
+set net_enabled 0
+set r_mode -2
+set fs_game ${basegame}