@@ -7,6 +7,19 @@ import PythinkerMascot from './components/PythinkerMascot.vue';
77
88const version = __PYTHINKER_VERSION__ ;
99
10+ /**
11+ * Desktop release currently published on GitHub. This tracks the published
12+ * release, not apps/desktop/package.json — the manifest is bumped by changesets
13+ * ahead of the build that produces these assets. Bump this only after the
14+ * matching desktop release is public.
15+ */
16+ const DESKTOP_VERSION = ' 0.1.0' ;
17+ const DESKTOP_RELEASE_BASE = ` https://github.com/PyModel/pythinker-code/releases/download/v${ DESKTOP_VERSION } ` ;
18+ const desktopDownloads = {
19+ mac: ` ${ DESKTOP_RELEASE_BASE } /Pythinker-${ DESKTOP_VERSION } -arm64.dmg` ,
20+ windows: ` ${ DESKTOP_RELEASE_BASE } /Pythinker-${ DESKTOP_VERSION } -x64-Setup.exe` ,
21+ };
22+
1023const installRows = [
1124 [' macOS / Linux' , ' curl -fsSL https://code.pythinker.com/pythinker-code/install.sh | bash' , ' /brand/apple.svg' ],
1225 [' Windows (PowerShell)' , ' irm https://code.pythinker.com/pythinker-code/install.ps1 | iex' , ' /brand/windows11.svg' ],
@@ -268,10 +281,17 @@ onUnmounted(() => {
268281 < div class = " desktop-showcase-copy reveal" >
269282 < p class = " eyebrow" > Desktop app< / p>
270283 < h2 id= " desktop-title" class = " display-md" > Pythinker Desktop< / h2>
271- < p class = " desktop-showcase-lead" > The agent in a native macOS app , with sidebar sessions, live activity, and auto- updates.< / p>
284+ < p class = " desktop-showcase-lead" > The agent in native macOS and Windows apps , with sidebar sessions, live activity, and auto- updates.< / p>
272285 < div class = " desktop-showcase-actions" >
273- < a class = " button button-primary" href= " https://github.com/PyModel/pythinker-code/releases/latest" target= " _blank" rel= " noopener" > Download for macOS< / a>
274- < span class = " desktop-showcase-note" > Auto- updates included · Apple Silicon< / span>
286+ < a class = " button button-primary" : href= " desktopDownloads.mac" rel= " noopener" >
287+ < img src= " /brand/apple.svg" alt= " " aria- hidden= " true" class = " button-platform-icon" / >
288+ Download for macOS
289+ < / a>
290+ < a class = " button button-secondary" : href= " desktopDownloads.windows" rel= " noopener" >
291+ < img src= " /brand/windows11.svg" alt= " " aria- hidden= " true" class = " button-platform-icon" / >
292+ Download for Windows
293+ < / a>
294+ < span class = " desktop-showcase-note" > Auto- updates included · Apple Silicon and Windows x64< / span>
275295 < / div>
276296 < / div>
277297 < / section>
@@ -805,6 +825,19 @@ onUnmounted(() => {
805825 gap: 16px;
806826}
807827
828+ .button-platform-icon {
829+ width: 16px;
830+ height: 16px;
831+ }
832+
833+ .desktop-showcase-actions .button {
834+ gap: 8px;
835+ }
836+
837+ .desktop-showcase-actions .button-primary .button-platform-icon {
838+ filter: brightness(0) invert(1);
839+ }
840+
808841.desktop-showcase-note {
809842 color: var(--ink-subtle);
810843 font-size: 13px;
0 commit comments