update for 24.11
This commit is contained in:
parent
add4df7220
commit
6a68f2cda0
15
default.nix
15
default.nix
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue