Thanks for the report, the logs helped a lot. It's not really the $lib alias: Pinokio starts the build in g:... (lowercase), the files resolve as G:..., and Vite thinks they're on two different drives. Hence the weird path.
I pushed a fix to the launcher that runs the build from the real folder path. To get it:
- revert your edit to hostUi.ts, that's what gives the black screen: git -C app checkout -- frontend/src/lib/plugin-api/hostUi.ts (from G:\pinokio\api\potionui-pinokio.git)
- git pull in that same folder, or just reinstall PotionUI in Pinokio
- Install, then Start
Let me know if it still breaks.
Thanks for the report, the logs helped a lot. It's not really the $lib alias: Pinokio starts the build in g:... (lowercase), the files resolve as G:..., and Vite thinks they're on two different drives. Hence the weird path.
I pushed a fix to the launcher that runs the build from the real folder path. To get it:
Let me know if it still breaks.