update for 24.11

This commit is contained in:
lelgenio 2024-12-12 20:03:25 -03:00
parent add4df7220
commit 6a68f2cda0

View file

@ -1,14 +1,15 @@
{ lib
, stdenv
, makeWrapper
, jre
, gnome
, writeShellScript
{
lib,
stdenv,
makeWrapper,
jre,
zenity,
writeShellScript,
}:
let
warnScript = writeShellScript "warn-tlauncher-jre-version" ''
if ! test -d "$HOME/.tlauncher"; then
${gnome.zenity}/bin/zenity --warning \
${zenity}/bin/zenity --warning \
--text="On Tlauncher settings, set Java/JRE to 'Current only', otherwise minecraft will fail to launch."
fi
'';