add ubuntu 20.04 to travis (#3989)

This commit is contained in:
ebbit1q 2020-05-13 19:42:08 +02:00 committed by GitHub
parent c69e77f330
commit 04274d2497
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 51 additions and 3 deletions

View file

@ -1091,13 +1091,13 @@ void MainWindow::actCheckCardUpdates()
* bypass app translocation: quarantined application will be started from a temporary directory eg.
* /private/var/folders/tk/qx76cyb50jn5dvj7rrgfscz40000gn/T/AppTranslocation/A0CBBD5A-9264-4106-8547-36B84DB161E2/d/oracle/
*/
if(dir.absolutePath().startsWith("/private/var/folders")) {
if (dir.absolutePath().startsWith("/private/var/folders")) {
dir.setPath("/Applications/");
} else {
// exit from the Cockatrice application bundle
dir.cdUp();
dir.cdUp();
dir.cdUp();
dir.cdUp();
}
binaryName = getCardUpdaterBinaryName();