blob: c243789ec46d742807dfc76a69102c583b79ee3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
post_install() {
cat <<'EOF'
==> codex-app-electron-port-bin installed.
This is an unofficial Electron-port repackaging from the macOS DMG.
Upstream layout or internals may change and require PKGBUILD updates.
Required after install:
1. Install native rebuild prerequisites (if not already installed)
sudo pacman -S --needed base-devel python nodejs pnpm sudo
2. Install Codex CLI (optional, but recommended for app integration)
pnpm setup
pnpm add -g @openai/codex
3. Rebuild native modules for your installed Electron version
codex-app-electron-port-bin-rebuild-native
Note: the helper may prompt for your sudo password to update files in /opt.
Note: if pnpm blocks build scripts, run `pnpm approve-builds` and retry.
4. Launch the app
codex-app-electron-port-bin
If Electron is updated later, rerun:
codex-app-electron-port-bin-rebuild-native
Optional package self-update helper:
codex-app-electron-port-bin-autoupdate --check
codex-app-electron-port-bin-autoupdate
This helper uses `paru` or `yay` if available.
EOF
}
post_upgrade() {
post_install
}
|