mirror of
https://github.com/open-webui/assistant
synced 2025-05-10 06:50:36 +00:00
Explicitly set platform architecture
Uses `uname -m` to get the arch.
This commit is contained in:
parent
77aa35ac94
commit
a1f9f1d3ff
6
Makefile
6
Makefile
@ -7,11 +7,11 @@ all:
|
||||
rm -f node_modules/@jimp/core/node_modules/.bin/mkdirp
|
||||
rm -f node_modules/execa/node_modules/.bin/semver
|
||||
rm -f node_modules/execa/node_modules/.bin/which
|
||||
npm run make
|
||||
npm run make -- --arch=$(shell uname -m) --platform=darwin
|
||||
|
||||
clean:
|
||||
rm -rf node_modules
|
||||
|
||||
install:
|
||||
xattr -c out/open-webui-assistant-darwin-arm64/open-webui-assistant.app
|
||||
mv out/open-webui-assistant-darwin-arm64/open-webui-assistant.app ~/Applications/Open\ WebUI\ Assistant.app
|
||||
xattr -c out/open-webui-assistant-darwin-$(shell uname -m)/open-webui-assistant.app
|
||||
mv out/open-webui-assistant-darwin-$(shell uname -m)/open-webui-assistant.app ~/Applications/Open\ WebUI\ Assistant.app
|
||||
|
Loading…
Reference in New Issue
Block a user