new config

This commit is contained in:
2022-01-06 20:22:59 +01:00
parent c44b2423b3
commit faad073914
2 changed files with 4 additions and 1 deletions

View File

@@ -291,12 +291,15 @@ final class Configurations {
mProperties.setProperty("tmpPath", path); mProperties.setProperty("tmpPath", path);
} }
checkResult = checkDirectory(mProperties.getProperty("tmpPath")); checkResult = checkDirectory(mProperties.getProperty("tmpPath"));
/*
checkResult = checkResult & checkFile(mProperties.getProperty("linuxPdfViewer")); checkResult = checkResult & checkFile(mProperties.getProperty("linuxPdfViewer"));
if ( checkResult == false ) { if ( checkResult == false ) {
mConsole.addText("linuxPdfViewer not found"); mConsole.addText("linuxPdfViewer not found");
confProblems = confProblems + "linuxPdfViewer not found!\n"; confProblems = confProblems + "linuxPdfViewer not found!\n";
} }
pdfViewer = mProperties.getProperty("linuxPdfViewer"); pdfViewer = mProperties.getProperty("linuxPdfViewer");
*/
pdfViewer = "xdg-open";
tmpDir = mProperties.getProperty("tmpPath"); tmpDir = mProperties.getProperty("tmpPath");
return checkResult; return checkResult;
} }

View File

@@ -4,7 +4,7 @@ pdflatex=/usr/bin/pdflatex
windowsTmpPath= windowsTmpPath=
tmpPath= tmpPath=
windowsPdfViewer=/Programme/Adobe/Reader/AcroRd32.exe windowsPdfViewer=/Programme/Adobe/Reader/AcroRd32.exe
linuxPdfViewer=/usr/bin/acroread linuxPdfViewer=/usr/bin/xdg-open
exSongFile=griechischer_wein.gtx exSongFile=griechischer_wein.gtx
exBookFile=my_first_book.gtb exBookFile=my_first_book.gtb
gtxServer=guitartex2.nikolai-rinas.de gtxServer=guitartex2.nikolai-rinas.de