From: Ben Soares Date: Fri, 9 Jun 2023 14:12:51 +0000 (+0100) Subject: JAL-3599 fixed placement of 'First Run' file for chromium profile X-Git-Tag: Release_2_11_4_0~213^2~12 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f3c41d0e8b0a342c12eec87903c89c38762f2b6d;p=jalview.git JAL-3599 fixed placement of 'First Run' file for chromium profile --- diff --git a/build.gradle b/build.gradle index 679fb14..e0c80e3 100644 --- a/build.gradle +++ b/build.gradle @@ -4219,8 +4219,9 @@ task jalviewjsCopyStderrLaunchFile(type: Copy) { } task jalviewjsChromiumProfile { - def profileDir = "${jalviewjsBuildDir}/${jalviewjs_chromium_user_dir}/${jalviewjs_chromium_profile_name}" - def firstRun = file("${profileDir}/First Run") + def userDir = "${jalviewjsBuildDir}/${jalviewjs_chromium_user_dir}" + def profileDir = "${userDir}/${jalviewjs_chromium_profile_name}" + def firstRun = file("${userDir}/First Run") doFirst { mkdir profileDir @@ -4267,9 +4268,9 @@ task jalviewjsLaunchTest(type: Exec) { executable(chromiumBinary) args([ - "--no-sandbox", - "--disable-gpu", + "--no-sandbox", // --no-sandbox IS USED BY THE THORIUM APPIMAGE ON THE BUILDSERVER "--headless=new", + "--disable-gpu", "--timeout=60000", "--virtual-time-budget=60000", "--user-data-dir=${jalviewjsBuildDir}/${jalviewjs_chromium_user_dir}",