From f3c41d0e8b0a342c12eec87903c89c38762f2b6d Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Fri, 9 Jun 2023 15:12:51 +0100 Subject: [PATCH] JAL-3599 fixed placement of 'First Run' file for chromium profile --- build.gradle | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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}", -- 1.7.10.2