create a build:android package.json script. install [email protected], and platform add android. add "deviceready" eventlistener in main.ts which calls onDeviceReady function that sets first element with className "app" to display "none" and assigns globalThis.PHASER_GAME = new Phaser.Game
if !window.cordova setTimeout that dispatches "deviceready" event after 50 ms.
create a build:linux package.json script. the end result should be installable on a Legion Go running Bazzite