mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Add some scripts for installers on linux/mac that don't work yet.
This commit is contained in:
parent
ae91bfa48a
commit
bbc00a5ea8
6
cmake/deploy-qt-linux.cmake.in
Normal file
6
cmake/deploy-qt-linux.cmake.in
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
set(LINDEPLOYQT "@WINDEPLOYQT@")
|
||||||
|
set(COMPONENT_NAME_MAIN "@COMPONENT_NAME_MAIN@")
|
||||||
|
set(CMAKE_CURRENT_SOURCE_DIR "@CMAKE_CURRENT_SOURCE_DIR@")
|
||||||
|
execute_process(COMMAND ${WINDEPLOYQT} --qmldir ${CMAKE_CURRENT_SOURCE_DIR} ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin)
|
||||||
|
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/models/ggml-model-q4_0.bin
|
||||||
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin)
|
6
cmake/deploy-qt-mac.cmake.in
Normal file
6
cmake/deploy-qt-mac.cmake.in
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
set(WINDEPLOYQT "@WINDEPLOYQT@")
|
||||||
|
set(COMPONENT_NAME_MAIN "@COMPONENT_NAME_MAIN@")
|
||||||
|
set(CMAKE_CURRENT_SOURCE_DIR "@CMAKE_CURRENT_SOURCE_DIR@")
|
||||||
|
execute_process(COMMAND ${WINDEPLOYQT} --qmldir ${CMAKE_CURRENT_SOURCE_DIR} ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin)
|
||||||
|
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/models/ggml-model-q4_0.bin
|
||||||
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin)
|
Loading…
Reference in New Issue
Block a user