Give up on debugging XDG_DATA_DIRS since it's appimage-builder bug

This commit is contained in:
DarkPhoenix
2023-12-06 08:08:48 +06:00
parent b709629d7b
commit 0192c77df1
2 changed files with 0 additions and 4 deletions

View File

@@ -61,9 +61,6 @@ AppDir:
PYTHONHOME: '${APPDIR}/usr'
PYTHONPATH: '${APPDIR}/usr/lib/python3.11/site-packages'
SSL_CERT_FILE: '${APPDIR}/usr/local/lib/python3.11/dist-packages/certifi/cacert.pem'
# Sets variable to default value in case system doesn't provide any
# Seems like ubuntu GTK doesn't use defaults and relies just on the variable
XDG_DATA_DIRS: '{{XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}}:${APPDIR}/usr/share/'
AppImage:
sign-key: None

View File

@@ -78,7 +78,6 @@ parser.add_option("-i", "--language", action="store", dest="language", help="Set
(options, args) = parser.parse_args()
if __name__ == "__main__":
print(os.getenv('XDG_DATA_DIRS'))
try:
# first and foremost - check required libraries