refactor: Rename

This commit is contained in:
LiBr
2026-04-13 17:39:00 +08:00
parent 0d4c9bf8d9
commit f778060b79
5 changed files with 6 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
# Multi-stage Docker build for the sideload.js frontend. # Multi-stage Docker build for the Side Impactor frontend.
# --- Stage 1: build --- # --- Stage 1: build ---
FROM oven/bun:1.3-alpine AS build FROM oven/bun:1.3-alpine AS build

View File

@@ -1,4 +1,4 @@
# Sideload.js # Side Impactor
Browser-based IPA signing and installation. Pair an iOS device over WebUSB, sign with your Apple Developer account, and install — all from a single web page. Browser-based IPA signing and installation. Pair an iOS device over WebUSB, sign with your Apple Developer account, and install — all from a single web page.
@@ -57,3 +57,4 @@ bun run test:frontend # frontend vitest suite (141 tests)
- [webmuxd](https://github.com/hack-different/webmuxd) - [webmuxd](https://github.com/hack-different/webmuxd)
- [zsign](https://github.com/nicehash/zsign) - [zsign](https://github.com/nicehash/zsign)
- [openssl-wasm](https://github.com/nicehash/openssl-wasm) - [openssl-wasm](https://github.com/nicehash/openssl-wasm)

View File

@@ -9,7 +9,7 @@
name="description" name="description"
content="Browser-based AltStore-style developer signing — pair, sign, install IPAs locally." content="Browser-based AltStore-style developer signing — pair, sign, install IPAs locally."
/> />
<title>AltStore Web — Sign &amp; Install</title> <title>Side Impactor — Sign &amp; Install</title>
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>

View File

@@ -23,7 +23,7 @@ describe('Header', () => {
it('wordmark click also navigates to login (and prevents the anchor default)', async () => { it('wordmark click also navigates to login (and prevents the anchor default)', async () => {
const onNav = vi.fn(); const onNav = vi.fn();
render(<Header currentPage="sign" onNavigate={onNav} />); render(<Header currentPage="sign" onNavigate={onNav} />);
const link = screen.getByRole('link', { name: /AltStore Web/ }); const link = screen.getByRole('link', { name: /Side Impactor/ });
await userEvent.click(link); await userEvent.click(link);
expect(onNav).toHaveBeenCalledWith('login'); expect(onNav).toHaveBeenCalledWith('login');
// Hash should not have been mutated by the default anchor behavior. // Hash should not have been mutated by the default anchor behavior.

View File

@@ -20,7 +20,7 @@ export function Header({ currentPage, onNavigate }: HeaderProps) {
<span className="inline-flex h-6 w-6 items-center justify-center rounded-md bg-ink text-[10px] font-bold text-white"> <span className="inline-flex h-6 w-6 items-center justify-center rounded-md bg-ink text-[10px] font-bold text-white">
A A
</span> </span>
AltStore Web Side Impactor
</a> </a>
<nav className="seg" aria-label="Page"> <nav className="seg" aria-label="Page">
<button <button