From f88042186b088bcfb8e4a5330dd43d08588e1160 Mon Sep 17 00:00:00 2001 From: system Date: Sun, 27 Aug 2023 21:16:38 +0800 Subject: updated Makefile --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e6c872a..fdbc885 100644 --- a/Makefile +++ b/Makefile @@ -46,9 +46,14 @@ buildlinux: @mv dist/setup dist/setup-linux @mv dist/main dist/main-linux -run: build +run: build* @open ./dist/* +zipmacapp: buildmac + @zip -r dist/setup.app.zip dist/setup.app + @zip -r dist/main.app.zip dist/main.app + @if [ $$? -eq 0 ]; then printf "$(MAGENTA)Files dist(*.app) are zipped successfully\n"; else printf "$(RED)Error: Files dist(*.app) are not zipped\n"; fi + clean: cleanspec @printf "$(YELLOW)Cleaning...$(NC)\n" @rm -rf dist -- cgit v1.2.3