AMD FOCUS DESKTOP, ELECTRON BUILD
=================================

WHAT THIS IS
The Affiliate Marketing Dude Focus Desktop as a Windows app.
The home desk loads live from affiliatemarketingdude.com/dashboards/
so you control the content from the server, no app updates needed.

BUILD STEPS (same as your other Electron apps)
1. Put your icon at assets/icon.ico (256x256 ico)
2. npm install
3. npm start            (test run)
4. npm run dist         (builds NSIS installer and portable exe into /dist)
5. Sign the exes with Azure Artifact Signing as usual

WHAT IS BUILT IN
- Webview browser with partition persist:amd. Every login the member
  makes (JoinMarcus, AWeber, ChatGPT, Claude, anything) stays logged in
  between app launches. This is the "save passwords" that matters most,
  they sign in once and never again.
- Password Vault (lock button, top bar). Members store site, username,
  password. Saved to disk encrypted with Windows DPAPI via safeStorage.
  The vault file cannot be read on another machine or by another user.
  Copy buttons put credentials on the clipboard, Show reveals for 5
  seconds then hides again.
- Customizable sidebar. The Customize gear turns on edit mode:
  up and down arrows reorder whole groups, and members can add their
  own links to Quick Links (name plus URL) and remove them. Layout
  saves to amd-settings.json in the app's userData folder and comes
  back on next launch.
- AI Chats group: ChatGPT, Claude, Gemini, Manus, Perplexity, Grok,
  DeepSeek. All open inside the app and stay logged in.
- Smart address bar: URLs load direct, anything else goes to
  dashboards/search.php?q= on your server.
- Trigger Word Vault panel, works offline, click to copy.
- Notifications panel. It tries dashboards/notifications.php for live JSON
  (array of {tag,t,b,w,read}), falls back to built-in items quietly.

SERVER FILES THE APP EXPECTS ON affiliatemarketingdude.com/dashboards/
- index.php          (already built, the home desk)
- go.php             (redirects site=xxx to the right login URL)
- search.php, nichefinder.php, triggersearch.php, offers.php,
  keywords.php, content.php, rank.php, domains.php, reports.php,
  videos.php, webinar.php, schedule.php, tools.php
- notifications.php  (optional, JSON feed for the alerts bell)
Pages that do not exist yet just show a 404 inside the browser area,
nothing breaks, so you can build them one at a time.

NOTES
- Google login inside embedded browsers is sometimes blocked by Google
  for Gemini/YouTube. If members hit that, they can log into Google via
  the address bar at accounts.google.com first, that usually clears it.
- To change the default sidebar layout for everyone, edit the GROUPS
  object near the top of renderer/index.html.
- The member's own changes always win over defaults on their machine.

NEW IN v1.1.1
=============
* Files button in the top bar: your recent downloads plus one
  click to open your Downloads folder, right from the browser.
* Settings is now a full page: downloads, favorites, alerts,
  startup, vault, sidebar, and privacy, all in one place.
* Recent downloads are remembered between sessions.
* The alerts bell now shows ONLY alerts pushed by Marcus.

