upd: add modplayer

This commit is contained in:
Mar0xy 2023-11-02 23:14:36 +01:00
parent 3a95c5b18d
commit a8b4689501
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
7 changed files with 753 additions and 1 deletions

View file

@ -41,6 +41,7 @@ html
//- https://github.com/misskey-dev/misskey/issues/9842
link(rel='stylesheet' href='/assets/phosphor-icons/bold/style.css')
link(rel='modulepreload' href=`/vite/${clientEntry.file}`)
script(src='/client-assets/libopenmpt.js')
if !config.clientManifestExists
script(type="module" src="/vite/@vite/client")
@ -70,6 +71,7 @@ html
script.
var VERSION = "#{version}";
var CLIENT_ENTRY = "#{clientEntry.file}";
window.libopenmpt = window.Module;
script
include ../boot.js