Merge pull request #326347 from gcleroux/bazecor-1.4.0

This commit is contained in:
Marcus Ramberg 2024-07-13 17:58:08 +02:00 committed by GitHub
commit 43439d8318
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,12 +6,12 @@
}:
let
pname = "bazecor";
version = "1.3.11";
version = "1.4.0";
src = appimageTools.extract {
inherit pname version;
src = fetchurl {
url = "https://github.com/Dygmalab/Bazecor/releases/download/v${version}/Bazecor-${version}-x64.AppImage";
hash = "sha256-iMurQDF0CBMnJnjmEgNIKYd8C5B4FguMi4Jqa3dHr3o=";
hash = "sha256-BKTOWpQT+5DCbPl+lQvbGBtpfRe098BJmQr+bMMMjKg=";
};
# Workaround for https://github.com/Dygmalab/Bazecor/issues/370
@ -19,7 +19,7 @@ let
substituteInPlace \
$out/usr/lib/bazecor/resources/app/.webpack/main/index.js \
--replace-fail \
'checkUdev=()=>{try{if(c.default.existsSync(f))return c.default.readFileSync(f,"utf-8").trim()===l.trim()}catch(e){console.error(e)}return!1}' \
'checkUdev=()=>{try{if(c.default.existsSync(f))return c.default.readFileSync(f,"utf-8").trim()===d.trim()}catch(e){u.default.error(e)}return!1}' \
'checkUdev=()=>{return 1}'
'';
};