*/}}
소스 검색

INSTALL fix

YimingWu 6 일 전
부모
커밋
5ab4728712
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      CMakeLists.txt
  2. 2 0
      GenerateAppimage.py

+ 1 - 1
CMakeLists.txt

@@ -95,7 +95,7 @@ target_link_libraries(OurPaint
 )
 
 SET(INSTALL_EXTRAS
-    README.md default_brushes.udf default_pallettes.udf COPYING COPYING_CC_BY_NC)
+    README.md default_brushes.udf default_pallettes.udf default_canvases.udf default_lights.udf default_pigments.udf COPYING COPYING_CC_BY_NC)
 
 FILE(GLOB INSTALL_PROFILES profiles/*)
 

+ 2 - 0
GenerateAppimage.py

@@ -53,6 +53,7 @@ os.system("rm -rf ../OurPaintApp/AppDir")
 os.system("rm -rf ../OurPaintApp/OurPaint")
 os.system("mkdir -p ../OurPaintApp/AppDir")
 os.system("mkdir -p ../OurPaintApp/OurPaint/fonts")
+os.system("mkdir -p ../OurPaintApp/OurPaint/profiles")
 os.system("cp build/OurPaint ../OurPaintApp/AppDir")
 os.system("cp README.md ../OurPaintApp/OurPaint")
 os.system("cp default_brushes.udf ../OurPaintApp/OurPaint")
@@ -63,6 +64,7 @@ os.system("cp default_lights.udf ../OurPaintApp/OurPaint")
 os.system("cp COPYING ../OurPaintApp/OurPaint")
 os.system("cp COPYING_CC_BY_NC ../OurPaintApp/OurPaint")
 os.system("cp %s/.local/share/fonts/lagui/*.* ../OurPaintApp/OurPaint/fonts"%os.path.expanduser("~"))
+os.system("cp profiles/*.* ../OurPaintApp/OurPaint/profiles")
 
 additional=""
 # bundle everything?