Title: Fix Portable Black Screen (Missing Files & Protocol) by google-labs-jules[bot] · Pull Request #28 · Javaec/git-watcher · GitHub
Open Graph Title: Fix Portable Black Screen (Missing Files & Protocol) by google-labs-jules[bot] · Pull Request #28 · Javaec/git-watcher
X Title: Fix Portable Black Screen (Missing Files & Protocol) by google-labs-jules[bot] · Pull Request #28 · Javaec/git-watcher
Description: This submission completely resolves the "Black Screen" issue in Portable builds by addressing the root cause (missing build artifacts) and implementing a robust custom protocol for asset loading. Critical Fixes: Fix Build Configuration: Added "files": ["dist-electron", "dist"] to package.json. This forces electron-builder to include the frontend assets in the package, which were previously excluded because dist/ is in .gitignore. This was the primary cause of the chrome-error://chromewebdata/ black screen. Custom Protocol (app://): Replaced file:// loading with a custom app://git-watcher/ protocol. This bypasses security restrictions and path resolution issues common in portable environments, ensuring assets load reliably from the ASAR archive. Fix Git Concurrency: Implemented a global lock in the repository check loop to prevent concurrent git operations, eliminating the GitError: cannot lock ref and Permission denied errors seen in the logs. UI & UX Improvements: Start on System Login: Renamed and restyled the "Auto-Launch" setting to "Start on System Login" with a visual status indicator, as requested for better quality. Hypotheses List: Added HYPOTHESES.md detailing the investigation into the black screen issue. Verification: Verified UI changes via Playwright screenshot. Verified build configuration changes by code inspection. PR created automatically by Jules for task 11562340079226017196 started by @Javaec
Open Graph Description: This submission completely resolves the "Black Screen" issue in Portable builds by addressing the root cause (missing build artifacts) and implementing a robust custom protocol for asset ...
X Description: This submission completely resolves the "Black Screen" issue in Portable builds by addressing the root cause (missing build artifacts) and implementing a robust custom protocol fo...
Opengraph URL: https://github.com/Javaec/git-watcher/pull/28
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6d2d3850-031b-2668-db3a-0a1d0e7a0f53 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DE06:2A2F96:4D2CFD:656BFF:6A6151A9 |
| html-safe-nonce | 1cf5fac266b45b63b1f599669de1af7289a90d25ebc7d09326f7e8a33174cbd2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTA2OjJBMkY5Njo0RDJDRkQ6NjU2QkZGOjZBNjE1MUE5IiwidmlzaXRvcl9pZCI6IjQzNjI3NjUyMjkxNTc4NjM4NDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1954c5586e565f4ae9febc19de5e54c9ea3dcffa9b17b7b909702661a5153cd2 |
| hovercard-subject-tag | pull_request:3053240812 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/Javaec/git-watcher/pull/28/files |
| twitter:image | https://avatars.githubusercontent.com/in/842251?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/842251?s=400&v=4 |
| og:image:alt | This submission completely resolves the "Black Screen" issue in Portable builds by addressing the root cause (missing build artifacts) and implementing a robust custom protocol for asset ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 35b919fdb8e6752d2ed95a144e761ca5e924557563e2ed0a5ebf6c4430cdeeb6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/Javaec/git-watcher git https://github.com/Javaec/git-watcher.git |
| octolytics-dimension-user_id | 4437402 |
| octolytics-dimension-user_login | Javaec |
| octolytics-dimension-repository_id | 1102080253 |
| octolytics-dimension-repository_nwo | Javaec/git-watcher |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1102080253 |
| octolytics-dimension-repository_network_root_nwo | Javaec/git-watcher |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1e22b08b60ccb67c3791f565bed248565260e611 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width