Skip to content

Commit 667e640

Browse files
committed
chore: remove the last references to the deleted marketing site
The desktop packaging spec read apps/site/src/App.vue to check the download links, which fails now that the site is gone, and an oauth comment pointed at the same tree.
1 parent ec98391 commit 667e640

2 files changed

Lines changed: 1 addition & 28 deletions

File tree

‎apps/desktop/tests/packaging-config.spec.ts‎

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -73,33 +73,6 @@ describe('desktop packaging configuration', () => {
7373
})
7474
})
7575

76-
it('keeps desktop download URLs derived from their published release version', () => {
77-
const siteSource = readFileSync(resolve(repositoryRoot, 'apps/site/src/App.vue'), 'utf8')
78-
const desktopVersionMatch = siteSource.match(/const DESKTOP_VERSION = '([^']+)'/)
79-
80-
expect(desktopVersionMatch).not.toBeNull()
81-
expect(desktopVersionMatch![1]).not.toBe('')
82-
expect(siteSource).not.toContain('Pythinker-0.1.0-arm64.dmg')
83-
expect(siteSource).not.toContain('Pythinker-0.1.0-x64-Setup.exe')
84-
expect(siteSource).toContain('Pythinker-${DESKTOP_VERSION}-arm64.dmg')
85-
expect(siteSource).toContain('Pythinker-${DESKTOP_VERSION}-x64-Setup.exe')
86-
expect(siteSource).toContain('releases/download/v${DESKTOP_VERSION}')
87-
expect(siteSource).not.toContain('releases/download/v0.1.0')
88-
89-
expect(siteSource).toContain('id="desktop"')
90-
const macDownload = siteSource.match(
91-
/<a[^>]*:href="desktopDownloads\.mac"[^>]*>[\s\S]*?<\/a>/,
92-
)
93-
expect(macDownload).not.toBeNull()
94-
expect(macDownload![0]).toContain('/brand/apple.svg')
95-
96-
const windowsDownload = siteSource.match(
97-
/<a[^>]*:href="desktopDownloads\.windows"[^>]*>[\s\S]*?<\/a>/,
98-
)
99-
expect(windowsDownload).not.toBeNull()
100-
expect(windowsDownload![0]).toContain('/brand/windows11.svg')
101-
})
102-
10376
it('maps the staged Host node_modules directory as the copy root', () => {
10477
expect(desktopPackage.build.extraResources).toEqual(expect.arrayContaining([
10578
{ from: 'resources', to: 'desktop-resources' },

‎packages/oauth/src/oauth-pages.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const ERROR_BADGE_SVG =
5050
'<path class="badge-draw" d="M8.5 8.5l7 7M15.5 8.5l-7 7" fill="none" stroke="#dc2626" stroke-width="2" stroke-linecap="round"/>' +
5151
'</svg>';
5252

53-
// Palette and card treatment mirror apps/site/src/style.css (light canvas,
53+
// Palette and card treatment mirror the product light theme (light canvas,
5454
// grid background, hairline card, blue accent). Inline-only: the Inter/mono
5555
// families fall back to system fonts because this page must work offline.
5656
const GRID_BG =

0 commit comments

Comments
 (0)