mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
[FEATURE] printExperimentalBranch info
This commit is contained in:
parent
a27d7f1597
commit
a0ac58f0b5
2 changed files with 6 additions and 2 deletions
|
@ -224,12 +224,15 @@ private static void printExperimentalBranch() {
|
||||||
}
|
}
|
||||||
logger.warn("This is experimental build. Please do not use this in production");
|
logger.warn("This is experimental build. Please do not use this in production");
|
||||||
logger.warn("Experimental features: [{}]", String.join(",", info.features));
|
logger.warn("Experimental features: [{}]", String.join(",", info.features));
|
||||||
|
for(var e : info.info) {
|
||||||
|
logger.warn(e);
|
||||||
|
}
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
logger.warn("Build information not found");
|
logger.warn("Build information not found");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
record ExperimentalBuild(List<String> features) {
|
record ExperimentalBuild(List<String> features, List<String> info) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
{
|
{
|
||||||
"features": []
|
"features": [],
|
||||||
|
"info": []
|
||||||
}
|
}
|
Loading…
Reference in a new issue