update build process and example to pull out deps

This commit is contained in:
thelamer 2021-12-02 12:15:09 -08:00
parent c8ff4e9e40
commit e0b0ecbe9c
2 changed files with 1 additions and 9 deletions

View File

@ -10,9 +10,6 @@ This repository collects the assets used in [https://github.com/linuxserver/emul
EJS_gameUrl = '/your/game/rom.zip';
EJS_core = 'snes9x';
</script>
<script src="js/vendor/jquery.min.js"></script>
<script src="js/vendor/jquery.hotkeys.js"></script>
<script src="js/vendor/browserfs.min.js"></script>
<script src="js/libretro.js"></script>
```

View File

@ -2,7 +2,7 @@
# Setup build dirs
rootdir=$(pwd)'/buildout/'
mkdir -p ${rootdir}{data,js/vendor,emulatorjstmp}
mkdir -p ${rootdir}{data,js,emulatorjstmp}
## Grab frontend blobs
# Custom cores
@ -20,11 +20,6 @@ tar xf \
mv \
${rootdir}/emulatorjstmp/frontend/js/libretro.js \
${rootdir}/js/
mv \
${rootdir}/emulatorjstmp/frontend/js/vendor/browserfs.min.js \
${rootdir}/emulatorjstmp/frontend/js/vendor/jquery.hotkeys.js \
${rootdir}/emulatorjstmp/frontend/js/vendor/jquery.min.js \
${rootdir}/js/vendor/
rm -Rf ${rootdir}/emulatorjstmp/
# Make tarball for release
cd ${rootdir}