Skip to content

Fix Black Screen in Portable Version#25

Open
google-labs-jules[bot] wants to merge 1 commit into
mainfrom
fix-portable-black-screen
Open

Fix Black Screen in Portable Version#25
google-labs-jules[bot] wants to merge 1 commit into
mainfrom
fix-portable-black-screen

Conversation

@google-labs-jules

Copy link
Copy Markdown
Contributor

This PR fixes the black screen issue in the Portable version of the app. The root cause was identified as missing relative path configuration in Vite, causing the app to search for assets at the root of the drive instead of relative to the executable. This was fixed by setting base: './' in vite.config.ts. Additionally, debugging tools (global error handler and a launcher script) were added to aid future troubleshooting.


PR created automatically by Jules for task 16079523266237030465 started by @Javaec

- Added `base: './'` to `vite.config.ts` to ensure build assets use relative paths, resolving the 'black screen' issue in Electron portable builds (file:// protocol).
- Added a global `window.onerror` handler in `index.html` to alert runtime errors on startup.
- Added `debug_launcher.bat` to easily run the portable app with logging enabled.
@google-labs-jules

Copy link
Copy Markdown
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

New to Jules? Learn more at jules.google/docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants