From 5b08a5ec972f32ef0bd0d1155de58426ac9de2ee Mon Sep 17 00:00:00 2001
From: Zywl <86253343+opZywl@users.noreply.github.com>
Date: Thu, 21 Dec 2023 08:33:06 -0300
Subject: [PATCH] Authorship certification (#224)
---
src-tauri/build.rs | 19 ++++++++++++++++++
src-tauri/src/app/api.rs | 19 ++++++++++++++++++
src-tauri/src/app/app_data.rs | 19 ++++++++++++++++++
src-tauri/src/app/gui.rs | 19 ++++++++++++++++++
src-tauri/src/app/mod.rs | 19 ++++++++++++++++++
src-tauri/src/app/webview.rs | 19 ++++++++++++++++++
src-tauri/src/error.rs | 19 ++++++++++++++++++
src-tauri/src/main.rs | 19 ++++++++++++++++++
src-tauri/src/minecraft/auth.rs | 20 ++++++++++++++++++-
.../src/minecraft/java/jre_downloader.rs | 19 ++++++++++++++++++
src-tauri/src/minecraft/java/mod.rs | 19 ++++++++++++++++++
src-tauri/src/minecraft/java/runtime.rs | 19 ++++++++++++++++++
src-tauri/src/minecraft/launcher.rs | 19 ++++++++++++++++++
src-tauri/src/minecraft/mod.rs | 19 ++++++++++++++++++
src-tauri/src/minecraft/prelauncher.rs | 19 ++++++++++++++++++
src-tauri/src/minecraft/progress.rs | 19 ++++++++++++++++++
src-tauri/src/minecraft/rule_interpreter.rs | 20 +++++++++++++++++++
src-tauri/src/minecraft/version.rs | 19 ++++++++++++++++++
src-tauri/src/utils/checksum.rs | 19 ++++++++++++++++++
src-tauri/src/utils/download.rs | 19 ++++++++++++++++++
src-tauri/src/utils/extract.rs | 19 ++++++++++++++++++
src-tauri/src/utils/maven.rs | 19 ++++++++++++++++++
src-tauri/src/utils/mod.rs | 19 ++++++++++++++++++
src-tauri/src/utils/sys.rs | 19 ++++++++++++++++++
24 files changed, 457 insertions(+), 1 deletion(-)
diff --git a/src-tauri/build.rs b/src-tauri/build.rs
index d860e1e..2320daa 100644
--- a/src-tauri/build.rs
+++ b/src-tauri/build.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
fn main() {
tauri_build::build()
}
diff --git a/src-tauri/src/app/api.rs b/src-tauri/src/app/api.rs
index 3d3629a..190b5b6 100644
--- a/src-tauri/src/app/api.rs
+++ b/src-tauri/src/app/api.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
use std::collections::BTreeMap;
use anyhow::Result;
diff --git a/src-tauri/src/app/app_data.rs b/src-tauri/src/app/app_data.rs
index a16421a..7929dc6 100644
--- a/src-tauri/src/app/app_data.rs
+++ b/src-tauri/src/app/app_data.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
use std::{path::Path, collections::HashMap};
use anyhow::Result;
diff --git a/src-tauri/src/app/gui.rs b/src-tauri/src/app/gui.rs
index 9878872..771c833 100644
--- a/src-tauri/src/app/gui.rs
+++ b/src-tauri/src/app/gui.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
use std::{sync::{Arc, Mutex}, thread};
use tracing::{error, info, debug};
diff --git a/src-tauri/src/app/mod.rs b/src-tauri/src/app/mod.rs
index c550c47..6dda617 100644
--- a/src-tauri/src/app/mod.rs
+++ b/src-tauri/src/app/mod.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
pub mod gui;
pub mod api;
diff --git a/src-tauri/src/app/webview.rs b/src-tauri/src/app/webview.rs
index 4eeaef5..180bec9 100644
--- a/src-tauri/src/app/webview.rs
+++ b/src-tauri/src/app/webview.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
use std::{sync::{Arc, Mutex}, time::Duration};
use serde::Deserialize;
use anyhow::Result;
diff --git a/src-tauri/src/error.rs b/src-tauri/src/error.rs
index 6d857be..d45c9e2 100644
--- a/src-tauri/src/error.rs
+++ b/src-tauri/src/error.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
use thiserror::Error;
#[derive(Error, Debug)]
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs
index fcc1be2..b953c68 100644
--- a/src-tauri/src/main.rs
+++ b/src-tauri/src/main.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
// #![feature(exit_status_error)] - wait for feature to be stable
#![cfg_attr(
all(not(debug_assertions), target_os = "windows"),
diff --git a/src-tauri/src/minecraft/auth.rs b/src-tauri/src/minecraft/auth.rs
index 2f81d51..edf54ee 100644
--- a/src-tauri/src/minecraft/auth.rs
+++ b/src-tauri/src/minecraft/auth.rs
@@ -1,4 +1,22 @@
-
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
use anyhow::{anyhow, Result};
use miners::auth::{self, MsAuth};
diff --git a/src-tauri/src/minecraft/java/jre_downloader.rs b/src-tauri/src/minecraft/java/jre_downloader.rs
index b441442..a991c82 100644
--- a/src-tauri/src/minecraft/java/jre_downloader.rs
+++ b/src-tauri/src/minecraft/java/jre_downloader.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
use std::io::Cursor;
use std::path::{Path, PathBuf};
diff --git a/src-tauri/src/minecraft/java/mod.rs b/src-tauri/src/minecraft/java/mod.rs
index df5a9e5..0dd8b4e 100644
--- a/src-tauri/src/minecraft/java/mod.rs
+++ b/src-tauri/src/minecraft/java/mod.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
pub(crate) mod jre_downloader;
mod runtime;
diff --git a/src-tauri/src/minecraft/java/runtime.rs b/src-tauri/src/minecraft/java/runtime.rs
index 597207c..6062cb0 100644
--- a/src-tauri/src/minecraft/java/runtime.rs
+++ b/src-tauri/src/minecraft/java/runtime.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
use std::path::{Path, PathBuf};
use std::process::Stdio;
use tokio::sync::oneshot::Receiver;
diff --git a/src-tauri/src/minecraft/launcher.rs b/src-tauri/src/minecraft/launcher.rs
index 4f17641..9681a54 100644
--- a/src-tauri/src/minecraft/launcher.rs
+++ b/src-tauri/src/minecraft/launcher.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
use std::{path::{Path, PathBuf}};
use std::collections::HashSet;
use std::fmt::Write;
diff --git a/src-tauri/src/minecraft/mod.rs b/src-tauri/src/minecraft/mod.rs
index 69fc66b..cd46354 100644
--- a/src-tauri/src/minecraft/mod.rs
+++ b/src-tauri/src/minecraft/mod.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
pub mod launcher;
pub mod version;
mod rule_interpreter;
diff --git a/src-tauri/src/minecraft/prelauncher.rs b/src-tauri/src/minecraft/prelauncher.rs
index d004b16..3709dff 100644
--- a/src-tauri/src/minecraft/prelauncher.rs
+++ b/src-tauri/src/minecraft/prelauncher.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
use std::path::Path;
use std::sync::{Mutex, Arc};
diff --git a/src-tauri/src/minecraft/progress.rs b/src-tauri/src/minecraft/progress.rs
index 72b5a51..1cfb907 100644
--- a/src-tauri/src/minecraft/progress.rs
+++ b/src-tauri/src/minecraft/progress.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
use core::convert::AsRef;
use serde::Serialize;
diff --git a/src-tauri/src/minecraft/rule_interpreter.rs b/src-tauri/src/minecraft/rule_interpreter.rs
index 7f7bf9f..0119f36 100644
--- a/src-tauri/src/minecraft/rule_interpreter.rs
+++ b/src-tauri/src/minecraft/rule_interpreter.rs
@@ -1,3 +1,23 @@
+
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
use std::collections::HashSet;
use anyhow::Result;
diff --git a/src-tauri/src/minecraft/version.rs b/src-tauri/src/minecraft/version.rs
index a426640..ac51b93 100644
--- a/src-tauri/src/minecraft/version.rs
+++ b/src-tauri/src/minecraft/version.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
use std::{collections::HashMap, fmt, marker::PhantomData, path::{Path, PathBuf}, str::FromStr};
use anyhow::{Result, Context};
diff --git a/src-tauri/src/utils/checksum.rs b/src-tauri/src/utils/checksum.rs
index ce521f8..c488ad8 100644
--- a/src-tauri/src/utils/checksum.rs
+++ b/src-tauri/src/utils/checksum.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
use anyhow::Result;
use sha1::{Sha1, Digest};
use std::path::PathBuf;
diff --git a/src-tauri/src/utils/download.rs b/src-tauri/src/utils/download.rs
index d913881..0c238de 100644
--- a/src-tauri/src/utils/download.rs
+++ b/src-tauri/src/utils/download.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
use std::path::Path;
use tokio::fs;
diff --git a/src-tauri/src/utils/extract.rs b/src-tauri/src/utils/extract.rs
index 6c75a34..fb2b882 100644
--- a/src-tauri/src/utils/extract.rs
+++ b/src-tauri/src/utils/extract.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
use anyhow::{Result, Context};
use std::{path::{Path, PathBuf}};
use async_compression::tokio::bufread::GzipDecoder;
diff --git a/src-tauri/src/utils/maven.rs b/src-tauri/src/utils/maven.rs
index 9abbdf4..256f755 100644
--- a/src-tauri/src/utils/maven.rs
+++ b/src-tauri/src/utils/maven.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
use crate::error::LauncherError;
use anyhow::Result;
diff --git a/src-tauri/src/utils/mod.rs b/src-tauri/src/utils/mod.rs
index 3bf26b0..4881d76 100644
--- a/src-tauri/src/utils/mod.rs
+++ b/src-tauri/src/utils/mod.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
mod sys;
mod extract;
mod download;
diff --git a/src-tauri/src/utils/sys.rs b/src-tauri/src/utils/sys.rs
index 00f1fe4..0c1330e 100644
--- a/src-tauri/src/utils/sys.rs
+++ b/src-tauri/src/utils/sys.rs
@@ -1,3 +1,22 @@
+/*
+ * This file is part of LiquidLauncher (https://github.com/CCBlueX/LiquidLauncher)
+ *
+ * Copyright (c) 2015 - 2023 CCBlueX
+ *
+ * LiquidLauncher is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LiquidLauncher is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LiquidLauncher. If not, see .
+ */
+
use std::fmt::Display;
use anyhow::{bail, Result};
use once_cell::sync::Lazy;