Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

兼容M3芯片 #148

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

兼容M3芯片 #148

wants to merge 3 commits into from

Conversation

likai757
Copy link

@likai757 likai757 commented Mar 3, 2024

由于M3不兼容 txiki,重新编译了txiki > tjs
有M芯片不支持的同学可以用此版本

@likai757
Copy link
Author

likai757 commented Mar 3, 2024

info.plist bash脚本参考:Translate.alfredworkflow

ARCH=$(uname -m)
if [[ "$ARCH" == "arm64" ]]; then
./runtime/tjs run ./index.js "$1"
elif [[ "$ARCH" == "x86_64" ]]; then
./runtime/txiki ./index.js "$1"
else
echo "Unsupported architecture: $ARCH"
exit 1
fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant