diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d06173c --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +.PHONY: all clean install + +.DEFAULT_GOAL := all + +all: + npm i + 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 + +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