From 34b7b33369e39e7fd9c5f47f34ec3b3f217f7f6c Mon Sep 17 00:00:00 2001 From: Justin Hayes Date: Wed, 13 Mar 2024 08:52:43 -0400 Subject: [PATCH 1/4] Create Makefile --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c669af0 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +.PHONY: all install + +all: + rm -rf node_modules + 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 + +install: + mv out/open-webui-assistant-darwin-arm64/open-webui-assistant.app ~/Applications/Open\ WebUI\ Assistant.app + From 3036fcba0a3c585281512f3fd64e9de777d83e20 Mon Sep 17 00:00:00 2001 From: Justin Hayes Date: Wed, 13 Mar 2024 08:55:49 -0400 Subject: [PATCH 2/4] Update Makefile --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c669af0..6823ae2 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ -.PHONY: all install +.PHONY: all clean install + +clean: + rm -rf node_modules all: - rm -rf node_modules npm i rm -f node_modules/@jimp/core/node_modules/.bin/mkdirp rm -f node_modules/execa/node_modules/.bin/semver @@ -10,4 +12,3 @@ all: install: mv out/open-webui-assistant-darwin-arm64/open-webui-assistant.app ~/Applications/Open\ WebUI\ Assistant.app - From 05ba0e78b88772f33451d7e18d5f87500f4de94c Mon Sep 17 00:00:00 2001 From: Justin Hayes Date: Wed, 13 Mar 2024 08:59:55 -0400 Subject: [PATCH 3/4] Update Makefile --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6823ae2..d2b353b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ .PHONY: all clean install -clean: - rm -rf node_modules +.DEFAULT_GOAL := all all: npm i @@ -10,5 +9,8 @@ all: rm -f node_modules/execa/node_modules/.bin/which npm run make +clean: + rm -rf node_modules + install: mv out/open-webui-assistant-darwin-arm64/open-webui-assistant.app ~/Applications/Open\ WebUI\ Assistant.app From ea953941d489cb1c6dd4c273109928578871ccfe Mon Sep 17 00:00:00 2001 From: Justin Hayes Date: Wed, 13 Mar 2024 15:26:46 -0400 Subject: [PATCH 4/4] Update Makefile --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index d2b353b..d06173c 100644 --- a/Makefile +++ b/Makefile @@ -13,4 +13,5 @@ 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