modified: src/config.rs
modified: src/www/portable.html
This commit is contained in:
parent
eebef351ad
commit
4f0518184a
@ -33,7 +33,7 @@ pub struct LauncherConfig {
|
|||||||
|
|
||||||
impl Default for LauncherConfig {
|
impl Default for LauncherConfig {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self { is_portable: Default::default(), user_name: Default::default(), java_path: "java".to_string(), show_alpha: true, show_beta: true, show_snapshots: false, ram_amount: 1024, servers: Default::default(), enable_blur: Default::default(), allow_http: Default::default() }
|
Self { is_portable: Default::default(), user_name: Default::default(), java_path: "javaw".to_string(), show_alpha: true, show_beta: true, show_snapshots: false, ram_amount: 1024, servers: Default::default(), enable_blur: Default::default(), allow_http: Default::default() }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,14 +15,6 @@
|
|||||||
<body class="flex bg-gray-100 h-screen">
|
<body class="flex bg-gray-100 h-screen">
|
||||||
<div id="sidebar" class="flex h-screen bg-white w-16 flex-col justify-between border-e border-gray-100 hidden">
|
<div id="sidebar" class="flex h-screen bg-white w-16 flex-col justify-between border-e border-gray-100 hidden">
|
||||||
<div>
|
<div>
|
||||||
<!--<div class="inline-flex size-16 items-center justify-center">
|
|
||||||
<a href="#" onclick="showAppearance(this)">
|
|
||||||
<span class="grid size-10 place-content-center rounded-lg bg-green-500 text-xs text-white">
|
|
||||||
Me
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</div>-->
|
|
||||||
|
|
||||||
<div class="border-t border-gray-100">
|
<div class="border-t border-gray-100">
|
||||||
<div class="px-2">
|
<div class="px-2">
|
||||||
<div class="py-4">
|
<div class="py-4">
|
||||||
@ -157,11 +149,11 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex justify-center items-center w-screen h-screen">
|
<div class="flex justify-center items-center w-screen h-screen">
|
||||||
<div id="logs-section" class="xsection bg-white shadow-lg rounded-xl p-6 w-96 text-center hidden">
|
<div id="logs-section" class="xsection bg-white shadow-lg rounded-xl p-6 w-2/3 h-2/3 text-center hidden">
|
||||||
<h2 class="text-2xl font-semibold text-gray-700">Minecraft Logs</h2>
|
<h2 class="text-2xl font-semibold text-gray-700">Minecraft Logs</h2>
|
||||||
|
|
||||||
<!-- Log Output -->
|
<!-- Log Output -->
|
||||||
<div id="log-container" class="mt-4 p-2 h-48 overflow-auto bg-gray-200 rounded text-left text-sm text-gray-800 font-mono">
|
<div id="log-container" class="mt-4 p-2 h-4/5 overflow-auto bg-gray-200 rounded text-left text-sm text-gray-800 font-mono">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -180,7 +172,7 @@
|
|||||||
<p class="mt-4 text-sm text-gray-500">alterdekim</p>
|
<p class="mt-4 text-sm text-gray-500">alterdekim</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="installation-section" class="xsection bg-white shadow-lg rounded-xl p-6 w-96 text-center hidden">
|
<div id="installation-section" class="xsection bg-white shadow-lg rounded-xl p-6 w-96 text-center">
|
||||||
<h1 class="text-2xl font-semibold text-gray-700">Welcome to XCraft</h1>
|
<h1 class="text-2xl font-semibold text-gray-700">Welcome to XCraft</h1>
|
||||||
<p class="mt-2 text-gray-600">Choose how you want to set up Minecraft.</p>
|
<p class="mt-2 text-gray-600">Choose how you want to set up Minecraft.</p>
|
||||||
|
|
||||||
@ -318,7 +310,7 @@
|
|||||||
<p class="mt-4 text-sm text-gray-500">alterdekim</p>
|
<p class="mt-4 text-sm text-gray-500">alterdekim</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="appearance-section" class="xsection flex">
|
<div id="appearance-section" class="xsection flex hidden">
|
||||||
<div>
|
<div>
|
||||||
<canvas id="skin_container"></canvas>
|
<canvas id="skin_container"></canvas>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user