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
|
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
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue