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 lib,
, makeWrapper stdenv,
, jre makeWrapper,
, gnome jre,
, writeShellScript zenity,
writeShellScript,
}: }:
let let
warnScript = writeShellScript "warn-tlauncher-jre-version" '' warnScript = writeShellScript "warn-tlauncher-jre-version" ''
if ! test -d "$HOME/.tlauncher"; then 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." --text="On Tlauncher settings, set Java/JRE to 'Current only', otherwise minecraft will fail to launch."
fi fi
''; '';