Skip to content

Commit

Permalink
println, console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
thesuzerain committed Aug 4, 2023
1 parent a0427af commit be1f366
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions theseus/src/api/pack/import/curseforge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,13 @@ pub async fn import_curseforge(
let state = State::get().await?;
// Recache Curseforge Icon if it exists
let mut icon = None;
println!("{:?}", minecraft_instance);

if let Some(icon_path) = minecraft_instance.profile_image_path.clone() {
icon = recache_icon(icon_path).await?;
} else if let Some(InstalledModpack {
thumbnail_url: Some(thumbnail_url),
}) = minecraft_instance.installed_modpack.clone()
{
println!("Downloading icon from {}", thumbnail_url);
let icon_bytes =
fetch(&thumbnail_url, None, &state.fetch_semaphore).await?;
let filename = thumbnail_url.rsplit('/').last();
Expand Down
3 changes: 0 additions & 3 deletions theseus_gui/src/components/ui/InstanceCreationModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ defineExpose({
const unlistener = ref(null)
const hide = () => {
console.log('hiding nicely')
isShowing.value = false
modal.value.hide()
if (unlistener.value) {
Expand Down Expand Up @@ -473,8 +472,6 @@ const reload = async () => {
} else {
profiles.value.set(selectedProfileType.value.name, [])
}
console.log(instances)
}
const setPath = () => {
Expand Down
1 change: 0 additions & 1 deletion theseus_gui/src/components/ui/ModInstallModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ const profiles = ref([])
async function install(instance) {
instance.installing = true
console.log(versions.value)
const version = versions.value.find((v) => {
return (
v.game_versions.includes(instance.metadata.game_version) &&
Expand Down

0 comments on commit be1f366

Please sign in to comment.