mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #737] [MERGED] fix(termux): improve installation reliability and sharp compatibility #4757
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4757
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/737
Author: @vanta-jack
Created: 5/12/2026
Status: ✅ Merged
Merged: 5/12/2026
Merged by: @Xelvanis
Base:
main← Head:fix/termux-installation📝 Commits (3)
79025d7fix(termux): improve installation reliability and sharp compatibility336628ffix: remove duplicate dependencies key in package.jsone8b97b9fix(termux): scope fixes to startup script and improve wasm32 detection📊 Changes
1 file changed (+8 additions, -3 deletions)
View changed files
📝
start-termux.sh(+8 -3)📄 Description
Linked issue
Closes #752
Why this change
The official
start-termux.shscript currently fails on fresh Termux installations due to several factors:sharpv0.34+ requireswasm32architecture support to correctly fall back when nativeandroid-arm64binaries are missing or incompatible with Termux's environment.pkg updateandpkg installcommands can hang indefinitely waiting for user input regarding configuration file conflicts.vite buildfrequently causes Out-Of-Memory (OOM) errors on mobile devices.What changed
start-termux.shto dynamically injectsupportedArchitectures.cpu[]=wasm32into.npmrcif running on Android. This keeps the fix scoped to the Termux environment as requested by maintainers.start-termux.shto ensurewasm32is added even if the platform marker already exists from a previous run.-o Dpkg::Options::="--force-confold"and non-interactive flags to allpkgcommands instart-termux.shto ensure a smooth, unattended setup.SKIP_PWA=1is consistently used as a fallback in the client build process to prevent OOM crashes on mobile..npmrcandpackage.jsonchanges to avoid affecting non-Termux platforms.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pkgcommands no longer hang on configuration prompts.pnpm installcorrectly resolvessharpusing thewasm32fallback automatically via the dynamic.npmrcconfiguration.http://127.0.0.1:7860.Docs and release impact
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.