Skip to content

Commit e4ef3e2

Browse files
authored
revert(landing): restore free Windows downloads and builds (anomalyco#1442)
Bring back Windows desktop artifacts in release workflows and remove the paid landing flow so Windows users can download public installers again. Co-authored-by: src-opn <[email protected]>
1 parent 1196827 commit e4ef3e2

11 files changed

Lines changed: 74 additions & 59 deletions

File tree

‎.github/workflows/prerelease.yml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ jobs:
106106
os_type: linux
107107
target: aarch64-unknown-linux-gnu
108108
args: "--target aarch64-unknown-linux-gnu --bundles deb,rpm"
109+
- platform: windows-2022
110+
os_type: windows
111+
target: x86_64-pc-windows-msvc
112+
args: "--target x86_64-pc-windows-msvc --bundles msi"
109113

110114
steps:
111115
- name: Log runner selection
@@ -122,6 +126,11 @@ jobs:
122126
with:
123127
ref: ${{ github.sha }}
124128

129+
- name: Enable git long paths (Windows)
130+
if: matrix.os_type == 'windows'
131+
shell: pwsh
132+
run: git config --global core.longpaths true
133+
125134
- name: Setup Node
126135
uses: actions/setup-node@v4
127136
with:
@@ -198,6 +207,9 @@ jobs:
198207
aarch64-unknown-linux-gnu)
199208
opencode_asset="opencode-linux-arm64.tar.gz"
200209
;;
210+
x86_64-pc-windows-msvc)
211+
opencode_asset="opencode-windows-x64-baseline.zip"
212+
;;
201213
*)
202214
echo "Unsupported target: ${{ matrix.target }}"
203215
exit 1
@@ -236,6 +248,9 @@ jobs:
236248
fi
237249
238250
target_name="opencode-${{ matrix.target }}"
251+
if [ "${{ matrix.os_type }}" = "windows" ]; then
252+
target_name="${target_name}.exe"
253+
fi
239254
240255
mkdir -p apps/desktop/src-tauri/sidecars
241256
cp "$bin_path" "apps/desktop/src-tauri/sidecars/${target_name}"

‎.github/workflows/release-macos-aarch64.yml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,10 @@ jobs:
275275
os_type: linux
276276
target: aarch64-unknown-linux-gnu
277277
args: "--target aarch64-unknown-linux-gnu --bundles deb,rpm"
278+
- platform: windows-2022
279+
os_type: windows
280+
target: x86_64-pc-windows-msvc
281+
args: "--target x86_64-pc-windows-msvc --bundles msi"
278282

279283
steps:
280284
- name: Log runner selection
@@ -292,6 +296,11 @@ jobs:
292296
ref: ${{ env.RELEASE_TAG }}
293297
fetch-depth: 0
294298

299+
- name: Enable git long paths (Windows)
300+
if: matrix.os_type == 'windows'
301+
shell: pwsh
302+
run: git config --global core.longpaths true
303+
295304
- name: Setup Node
296305
uses: actions/setup-node@v4
297306
with:
@@ -395,6 +404,9 @@ jobs:
395404
aarch64-unknown-linux-gnu)
396405
opencode_asset="opencode-linux-arm64.tar.gz"
397406
;;
407+
x86_64-pc-windows-msvc)
408+
opencode_asset="opencode-windows-x64-baseline.zip"
409+
;;
398410
*)
399411
echo "Unsupported target: ${{ matrix.target }}" >&2
400412
exit 1
@@ -433,6 +445,9 @@ jobs:
433445
fi
434446
435447
target_name="opencode-${{ matrix.target }}"
448+
if [ "${{ matrix.os_type }}" = "windows" ]; then
449+
target_name="${target_name}.exe"
450+
fi
436451
437452
mkdir -p apps/desktop/src-tauri/sidecars
438453
cp "$bin_path" "apps/desktop/src-tauri/sidecars/${target_name}"

‎ee/apps/landing/README.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
- `NEXT_PUBLIC_CAL_URL` - enterprise booking link
1313
- `NEXT_PUBLIC_DEN_CHECKOUT_URL` - Polar checkout URL for the Den preorder CTA
14-
- `NEXT_PUBLIC_WINDOWS_CHECKOUT_URL` - Polar checkout URL for the Windows support plan CTA
1514
- `LOOPS_API_KEY` - Loops API key for feedback/contact submissions
1615
- `LOOPS_TRANSACTIONAL_ID_APP_FEEDBACK` - Loops transactional template ID for app feedback emails
1716
- `LOOPS_INTERNAL_FEEDBACK_EMAIL` - optional override for the internal feedback recipient (defaults to `[email protected]`)

‎ee/apps/landing/app/download/page.tsx‎

Lines changed: 11 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,13 @@ import { getGithubData } from "../../lib/github";
55
export const metadata = {
66
title: "OpenWork - Download",
77
description:
8-
"Download OpenWork desktop for macOS and Linux, or purchase Windows support for binary access and updates.",
8+
"Download OpenWork desktop for macOS, Windows, and Linux. Includes AUR install instructions and direct package downloads.",
99
};
1010

1111
export default async function Download() {
1212
const github = await getGithubData();
1313
const releaseLabel = github.releaseTag || "latest";
1414
const releaseUrl = github.releaseUrl;
15-
const windowsCheckoutUrl =
16-
process.env.NEXT_PUBLIC_WINDOWS_CHECKOUT_URL || "/pricing#windows-support";
17-
const windowsCheckoutExternal = /^https?:\/\//.test(windowsCheckoutUrl);
1815

1916
return (
2017
<div className="min-h-screen">
@@ -63,7 +60,7 @@ export default async function Download() {
6360
className="feature-card border-violet-100 bg-violet-50/50 transition hover:border-violet-200"
6461
>
6562
<h2 className="mb-2 text-[16px] font-semibold text-gray-900">Windows</h2>
66-
<p className="text-[14px] text-gray-700">$99/year support plan with manual build delivery</p>
63+
<p className="text-[14px] text-gray-700">x64 MSI installer</p>
6764
</a>
6865
<a
6966
href="#linux"
@@ -114,31 +111,16 @@ export default async function Download() {
114111
<section id="windows" className="py-6">
115112
<h2 className="mb-2 text-2xl font-bold md:text-3xl">Windows</h2>
116113
<p className="mb-6 text-[15px] text-gray-700">
117-
Windows access is sold as an annual support plan. It includes one seat,
118-
Windows binary access, and one year of updates.
114+
OpenWork for Windows is available as an x64 MSI installer.
119115
</p>
120-
121-
<div className="feature-card max-w-2xl border-violet-100 bg-white/90 ring-1 ring-violet-100/70">
122-
<h3 className="mb-2 text-[18px] font-semibold text-gray-900">
123-
Windows support — $99/year
124-
</h3>
125-
<p className="mb-5 text-[14px] leading-7 text-gray-600">
126-
Purchase through Polar and we will send your Windows build link after checkout.
127-
</p>
128-
<div className="flex flex-wrap gap-3">
129-
<a
130-
href={windowsCheckoutUrl}
131-
className="doc-button"
132-
rel={windowsCheckoutExternal ? "noreferrer" : undefined}
133-
target={windowsCheckoutExternal ? "_blank" : undefined}
134-
>
135-
Purchase Windows support
136-
</a>
137-
<a href="/pricing#windows-support" className="secondary-button">
138-
See pricing details
139-
</a>
140-
</div>
141-
</div>
116+
<a
117+
href={github.installers.windows.x64}
118+
className="doc-button"
119+
rel="noreferrer"
120+
target="_blank"
121+
>
122+
Download Windows x64 (.msi)
123+
</a>
142124
</section>
143125

144126
<hr />

‎ee/apps/landing/app/enterprise/page.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { getGithubData } from "../../lib/github";
33

44
export const metadata = {
55
title: "OpenWork — Enterprise",
6-
description: "Enterprise OpenWork licensing with deployment support, rollout help, and included Windows support."
6+
description: "Secure hosting for safe, permissioned AI employees."
77
};
88

99
export default async function Enterprise() {

‎ee/apps/landing/app/page.tsx‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import { headers } from "next/headers";
55
export default async function Home() {
66
const github = await getGithubData();
77
const cal = process.env.NEXT_PUBLIC_CAL_URL || "/enterprise#book";
8-
const windowsCheckoutUrl =
9-
process.env.NEXT_PUBLIC_WINDOWS_CHECKOUT_URL || "/download#windows-support";
108
const userAgent = headers().get("user-agent")?.toLowerCase() || "";
119
const isMobileVisitor = /android|iphone|ipad|ipod|mobile/.test(userAgent);
1210

@@ -15,7 +13,6 @@ export default async function Home() {
1513
stars={github.stars}
1614
downloadHref={github.downloads.macos}
1715
callHref={cal}
18-
windowsCheckoutUrl={windowsCheckoutUrl}
1916
isMobileVisitor={isMobileVisitor}
2017
/>
2118
);

‎ee/apps/landing/app/pricing/page.tsx‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ export const metadata = {
1313
export default async function PricingPage() {
1414
const github = await getGithubData();
1515
const callUrl = process.env.NEXT_PUBLIC_CAL_URL || "/enterprise#book";
16-
const windowsCheckoutUrl =
17-
process.env.NEXT_PUBLIC_WINDOWS_CHECKOUT_URL || "/download#windows-support";
1816

1917
return (
2018
<div className="relative min-h-screen overflow-hidden text-[#011627]">
@@ -38,7 +36,6 @@ export default async function PricingPage() {
3836
</section>
3937

4038
<PricingGrid
41-
windowsCheckoutUrl={windowsCheckoutUrl}
4239
callUrl={callUrl}
4340
showHeader={false}
4441
/>

‎ee/apps/landing/components/landing-enterprise.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,7 @@ export function LandingEnterprise(props: Props) {
214214
<p className="text-[14px] leading-relaxed text-slate-600">
215215
Deploy inside your own environment or work with us on a
216216
managed rollout, with your gateway, MCP servers, skills, and
217-
internal data sources connected. Windows support is included in
218-
enterprise licensing.
217+
internal data sources connected.
219218
</p>
220219
</div>
221220
</div>

‎ee/apps/landing/components/landing-home.tsx‎

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
landingDemoFlows,
1212
landingDemoFlowTimes
1313
} from "./landing-demo-flows";
14-
import { PricingGrid } from "./pricing-grid";
1514
import { LandingSharePackageCard } from "./landing-share-package-card";
1615
import { SiteFooter } from "./site-footer";
1716
import { SiteNav } from "./site-nav";
@@ -21,7 +20,6 @@ type Props = {
2120
stars: string;
2221
downloadHref: string;
2322
callHref: string;
24-
windowsCheckoutUrl: string;
2523
isMobileVisitor: boolean;
2624
};
2725

@@ -44,6 +42,7 @@ export function LandingHome(props: Props) {
4442
[activeDemoId]
4543
);
4644

45+
const callLinkProps = externalLinkProps(props.callHref);
4746
const primaryCtaHref = props.isMobileVisitor
4847
? "https://app.openworklabs.com"
4948
: "/download";
@@ -90,10 +89,11 @@ export function LandingHome(props: Props) {
9089
{primaryCtaLabel} <Download size={18} />
9190
</a>
9291
<a
93-
href="/pricing"
92+
href={props.callHref}
9493
className="secondary-button"
94+
{...callLinkProps}
9595
>
96-
See pricing
96+
Contact sales
9797
</a>
9898
</div>
9999

@@ -210,14 +210,6 @@ export function LandingHome(props: Props) {
210210
</div>
211211
</section>
212212

213-
<section className="landing-shell rounded-[2.5rem] p-8 md:p-12">
214-
<PricingGrid
215-
windowsCheckoutUrl={props.windowsCheckoutUrl}
216-
callUrl={props.callHref}
217-
showHeader={true}
218-
/>
219-
</section>
220-
221213
<section
222214
ref={enterpriseShowcaseRef}
223215
className="landing-shell rounded-[2.5rem] p-8 md:p-12"

‎ee/apps/landing/components/pricing-grid.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { ArrowUpRight, Cloud, Download, Shield } from "lucide-react";
44
import { ResponsiveGrain } from "./responsive-grain";
55

66
type PricingGridProps = {
7-
windowsCheckoutUrl: string;
87
callUrl: string;
98
showHeader?: boolean;
109
};
@@ -150,7 +149,7 @@ export function PricingGrid(props: PricingGridProps) {
150149
href: props.callUrl,
151150
external: /^https?:\/\//.test(props.callUrl),
152151
features: [
153-
{ text: "Includes Windows support", icon: Shield },
152+
{ text: "Enterprise rollout support", icon: Shield },
154153
{ text: "Deployment guidance", icon: Shield },
155154
{ text: "Custom commercial terms", icon: Shield },
156155
],

0 commit comments

Comments
 (0)