Fix print null errors and add main process logging to renderer console

- Added null checks for toolbar, tab-bar, status-bar before accessing .style
- Prevents TypeError when elements don't exist
- Added executeJavaScript to send main process logs to renderer console
- Now we can see main process state in DevTools
- Print should now work without errors

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-26 21:05:24 +05:30
co-authored by Claude
parent 458a387c15
commit 7783fbf622
25 changed files with 1180 additions and 99 deletions
+8 -1
View File
@@ -26,7 +26,14 @@
"Bash(dir:*)",
"Bash(git merge:*)",
"Bash(timeout:*)",
"Bash(findstr:*)"
"Bash(findstr:*)",
"Bash(git stash:*)",
"Bash(npm start:*)",
"Bash(gh release delete-asset:*)",
"Bash(git rm:*)",
"Bash(gh release view:*)",
"Bash(npm run build:linux:*)",
"Bash(git reset:*)"
],
"deny": []
}