File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ def appImage(args: argparse.Namespace) -> None:
9191 writeFile (imgDir / "novelwriter.appdata.xml" , appdataXml ())
9292 writeFile (imgDir / "requirements.txt" , str (outDir ))
9393 writeFile (imgDir / "entrypoint.sh" , (
94- f"export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${{APPDIR}}/usr/lib/{ mArch } -linux-gnu/\n "
94+ # f"export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${{APPDIR}}/usr/lib/{mArch}-linux-gnu/\n"
9595 '{{ python-executable }} -sE ${APPDIR}/opt/python{{ python-version }}/bin/novelwriter "$@"'
9696 ))
9797
@@ -109,9 +109,9 @@ def appImage(args: argparse.Namespace) -> None:
109109
110110 # Copy Libraries
111111 libPath = Path (f"/usr/lib/{ mArch } -linux-gnu" )
112- appLibs = appDir / "usr " / " lib" / f"{ mArch } -linux-gnu "
113- appLibs . mkdir ( exist_ok = True )
114- shutil .copyfile (libPath / "libxcb-cursor.so.0" , appLibs / "libxcb-cursor.so.0" )
112+ siteDir = appDir / "opt " / f"python { pyVer } " / " lib" / f"python { pyVer } " / "site-packages "
113+ qt6Lib = siteDir / "PyQt6" / "Qt6" / "lib"
114+ shutil .copyfile (libPath / "libxcb-cursor.so.0" , qt6Lib / "libxcb-cursor.so.0" )
115115
116116 # Build Image
117117 appToolExec = os .environ .get ("APPIMAGE_TOOL_EXEC" , "appimagetool" )
You can’t perform that action at this time.
0 commit comments