Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

Merge branch 'fix/makefile-windows-support' of https://github.com/thewulf7/jan into fix/makefile-windows-support

Evgenii Utkin9765bd3817f8
diff --cc Makefile
index f9365e561,ffcf8bcec..0bac42aa8
--- a/Makefile
+++ b/Makefile
@@@ -248,11 -248,7 +248,11 @@@ endi
# Debug build for local dev (faster, native arch only)
build-cli-dev:
+ifeq ($(DETECTED_OS),Windows)
- mkdir src-tauri/resources/bin
++ mkdir src-tauri\resources\bin 2>NUL
+else
mkdir -p src-tauri/resources/bin
+endif
cd src-tauri && cargo build --features cli --bin jan-cli
install -m755 src-tauri/target/debug/jan-cli src-tauri/resources/bin/jan-cli