You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: GEMINI.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,16 @@
4
4
Electron desktop app. Automate TDCC e-Voting. Login with ID. Find pending/voted company. Vote agree/against/abstain. Take screenshot proof. Logout safe. **Runs in background/unfocused. Notify user on completion/error.**
5
5
6
6
### Architecture
7
-
-**Main (`main.js`)**: Manage window. Set `BrowserView`. Handle IPC. **Trigger system notifications when window unfocused.**
7
+
-**Main (`main.js`)**: Manage window. Set `BrowserView` for automation. Handle IPC. **Trigger system notifications when window unfocused.**
8
8
-**Preload (`preload.js`)**: Secure bridge renderer ↔ main (`contextBridge`).
9
9
-**Renderer (`src/renderer/`)**: UI. HTML, Vanilla CSS, JS. No big framework.
10
-
-**Auto Engine (`src/automation/`)**: Interact with TDCC.
10
+
-**Auto Engine (`src/automation/`)**: Interact with TDCC via `webContents.executeJavaScript`.
11
11
-`main_flow.js`: Control flow. Clear session. Respect TDCC maintenance time (00:00 - 07:00 UTC+8).
12
12
-`login.js`: Auto login. Select cert. Handle native dialogs.
0 commit comments