Skip to content

Commit bcf6b79

Browse files
committed
V2.9.0
1 parent e5e5c6f commit bcf6b79

87 files changed

Lines changed: 4922 additions & 15035 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎install.sh‎

100644100755
Lines changed: 485 additions & 198 deletions
Large diffs are not rendered by default.

‎vix-site/index.html‎

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,86 +3,113 @@
33
<head>
44
<!-- Basic -->
55
<meta charset="UTF-8" />
6+
67
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
78

8-
<title>Vix.cpp — A modern application workflow for native C++</title>
9+
<title>Vix.cpp | A runtime for C++ applications</title>
910

1011
<!-- Primary meta -->
1112
<meta
1213
name="description"
13-
content="Vix.cpp is a runtime and developer toolkit for building real applications with modern C++. It keeps the native C++ model intact while improving the workflow around the application."
14+
content="Vix.cpp is a runtime for C++ applications. It provides a coherent way to build, run, and operate C++ software throughout its lifecycle."
1415
/>
16+
1517
<meta name="author" content="Softadastra" />
18+
1619
<meta name="robots" content="index, follow" />
20+
1721
<link rel="canonical" href="https://vixcpp.com/" />
1822

1923
<!-- Favicons / App icons -->
2024
<link rel="icon" href="/assets/pwa/favicon.ico" />
25+
2126
<link
2227
rel="icon"
2328
type="image/png"
2429
sizes="16x16"
2530
href="/assets/pwa/favicon-16x16.png"
2631
/>
32+
2733
<link
2834
rel="icon"
2935
type="image/png"
3036
sizes="32x32"
3137
href="/assets/pwa/favicon-32x32.png"
3238
/>
39+
3340
<link rel="apple-touch-icon" href="/assets/pwa/apple-touch-icon.png" />
3441

3542
<!-- PWA -->
3643
<link rel="manifest" href="/manifest.webmanifest" />
37-
<meta name="theme-color" content="#050807" />
38-
<meta name="background-color" content="#050807" />
44+
45+
<meta name="theme-color" content="#0d1117" />
46+
47+
<meta name="background-color" content="#0d1117" />
48+
3949
<meta name="mobile-web-app-capable" content="yes" />
50+
4051
<meta name="apple-mobile-web-app-capable" content="yes" />
52+
4153
<meta name="apple-mobile-web-app-title" content="Vix.cpp" />
54+
4255
<meta
4356
name="apple-mobile-web-app-status-bar-style"
4457
content="black-translucent"
4558
/>
4659

4760
<!-- Open Graph -->
4861
<meta property="og:type" content="website" />
62+
4963
<meta property="og:site_name" content="Vix.cpp" />
64+
5065
<meta
5166
property="og:title"
52-
content="Vix.cpp — A modern application workflow for native C++"
67+
content="Vix.cpp | A runtime for C++ applications"
5368
/>
69+
5470
<meta
5571
property="og:description"
56-
content="Vix.cpp is a runtime and developer toolkit for building real applications with modern C++. It keeps the native C++ model intact while improving the workflow around the application."
72+
content="Vix.cpp is a runtime for C++ applications. It provides a coherent way to build, run, and operate C++ software throughout its lifecycle."
5773
/>
74+
5875
<meta property="og:url" content="https://vixcpp.com/" />
76+
5977
<meta
6078
property="og:image"
6179
content="https://res.cloudinary.com/dwjbed2xb/image/upload/v1782674916/vix-architecture_yarpd9.png"
6280
/>
63-
<meta property="og:image:alt" content="Vix.cpp architecture" />
81+
82+
<meta property="og:image:alt" content="Vix.cpp" />
6483

6584
<!-- Twitter / X -->
6685
<meta name="twitter:card" content="summary_large_image" />
86+
6787
<meta
6888
name="twitter:title"
69-
content="Vix.cpp — A modern application workflow for native C++"
89+
content="Vix.cpp | A runtime for C++ applications"
7090
/>
91+
7192
<meta
7293
name="twitter:description"
73-
content="Vix.cpp is a runtime and developer toolkit for building real applications with modern C++. It keeps the native C++ model intact while improving the workflow around the application."
94+
content="Vix.cpp is a runtime for C++ applications. It provides a coherent way to build, run, and operate C++ software throughout its lifecycle."
7495
/>
96+
7597
<meta
7698
name="twitter:image"
7799
content="https://res.cloudinary.com/dwjbed2xb/image/upload/v1782674916/vix-architecture_yarpd9.png"
78100
/>
101+
102+
<meta name="twitter:image:alt" content="Vix.cpp" />
103+
79104
<meta name="twitter:site" content="@vix_cpp" />
80105

81106
<!-- GitHub Pages SPA restore -->
82107
<script>
83108
const redirect = sessionStorage.getItem("redirect");
109+
84110
if (redirect) {
85111
sessionStorage.removeItem("redirect");
112+
86113
if (redirect !== location.pathname + location.search + location.hash) {
87114
history.replaceState(null, "", redirect);
88115
}
@@ -94,6 +121,7 @@
94121
async
95122
src="https://www.googletagmanager.com/gtag/js?id=G-1B67VYZMXF"
96123
></script>
124+
97125
<script>
98126
window.dataLayer = window.dataLayer || [];
99127

‎vix-site/package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
8-
"build": "vite build",
8+
"build": "npm run installers:sync && vite build",
99
"docs:dev": "vitepress dev docs",
1010
"docs:build": "vitepress build docs",
1111
"docs:preview": "vitepress preview docs",
1212
"release": "npm run build && npm run docs:build && node scripts/deploy.js",
1313
"deploy": "npm run release",
14+
"installers:sync": "node scripts/sync-installers.mjs",
1415
"preview": "vite preview",
1516
"registry:build": "node tools/build_registry_index.js"
1617
},
Lines changed: 81 additions & 0 deletions
Loading
Lines changed: 54 additions & 0 deletions
Loading

‎vix-site/public/install.sh‎

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ VIX_VERSION="${VIX_VERSION:-latest}"
1616
# - installation tests succeed.
1717
VIX_STABLE_URL="${VIX_STABLE_URL:-https://vixcpp.com/releases/stable.txt}"
1818

19-
# Emergency fallback used if stable.txt is unavailable, invalid,
20-
# or points to an incomplete release.
21-
VIX_FALLBACK_VERSION="${VIX_FALLBACK_VERSION:-v2.7.8}"
22-
2319
VIX_INSTALL_BIN_DIR="${VIX_INSTALL_BIN_DIR:-$HOME/.local/bin}"
2420
VIX_INSTALL_SHARE_DIR="${VIX_INSTALL_SHARE_DIR:-$HOME/.local/share}"
2521

@@ -204,8 +200,7 @@ Environment:
204200
205201
Examples:
206202
latest
207-
v2.7.8
208-
v2.8.3
203+
vX.Y.Z
209204
210205
Default: latest
211206
@@ -218,13 +213,6 @@ Environment:
218213
Default:
219214
https://vixcpp.com/releases/stable.txt
220215
221-
VIX_FALLBACK_VERSION
222-
Emergency fallback used when the stable release pointer is
223-
unavailable or incomplete.
224-
225-
Default:
226-
v2.7.8
227-
228216
VIX_REPO
229217
GitHub repository containing release assets.
230218
@@ -368,26 +356,15 @@ resolve_version() {
368356

369357
stable="$(resolve_stable_pointer || true)"
370358

371-
if [ -n "$stable" ]; then
372-
if release_is_installable "$stable"; then
373-
printf "%s" "$stable"
374-
return
375-
fi
376-
377-
warn "validated stable release $stable is incomplete for $OS/$ARCH"
378-
else
379-
warn "could not resolve the validated stable release"
359+
if [ -z "$stable" ]; then
360+
die "Could not resolve the latest validated Vix release. Please try again later."
380361
fi
381362

382-
if valid_release_tag "$VIX_FALLBACK_VERSION" &&
383-
[ "$VIX_FALLBACK_VERSION" != "$stable" ] &&
384-
release_is_installable "$VIX_FALLBACK_VERSION"; then
385-
step "Falling back to stable release $VIX_FALLBACK_VERSION"
386-
printf "%s" "$VIX_FALLBACK_VERSION"
387-
return
363+
if ! release_is_installable "$stable"; then
364+
die "Could not resolve the latest validated Vix release. Please try again later."
388365
fi
389366

390-
die "no installable Vix release found for $OS/$ARCH"
367+
printf "%s" "$stable"
391368
}
392369

393370
verify_checksum() {

‎vix-site/public/manifest.webmanifest‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"scope": "/",
99
"display": "standalone",
1010
"orientation": "portrait",
11-
"background_color": "#050807",
12-
"theme_color": "#050807",
11+
"background_color": "#0d1117",
12+
"theme_color": "#0d1117",
1313
"categories": [
1414
"developer",
1515
"productivity",
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { copyFile, chmod } from "node:fs/promises";
2+
import { resolve } from "node:path";
3+
import { fileURLToPath } from "node:url";
4+
5+
const scriptDir = resolve(fileURLToPath(new URL(".", import.meta.url)));
6+
const repositoryRoot = resolve(scriptDir, "..", "..");
7+
const publicDir = resolve(scriptDir, "..", "public");
8+
9+
for (const installer of ["install.sh", "install.ps1"]) {
10+
const source = resolve(publicDir, installer);
11+
const destination = resolve(repositoryRoot, installer);
12+
13+
await copyFile(source, destination);
14+
15+
if (installer.endsWith(".sh")) {
16+
await chmod(destination, 0o755);
17+
}
18+
}

0 commit comments

Comments
 (0)