Compare commits

..

8 Commits
0.1.3 ... main

3 changed files with 25 additions and 4 deletions

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2025 saru
Copyright (c) 2025 Obie Hinojosa
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

View File

@ -133,6 +133,8 @@ def check_for_launcher_files(filepath, launchername):
# --------------------the real shit!------------------------
print("[INFO]: Welcome! Installer Version: 0.1.4")
#detect operating system and find home, minecraft, & mod folders
homedir = os.path.expanduser("~")
os.chdir(homedir)
@ -209,7 +211,7 @@ os.environ['SSL_CERT_FILE'] = certifi.where()
# this line fixes SSL errors after compiling with PyInstaller as long as certifi is imported alongside it
try:
wget.download('https://git.sarushinobie.dev/saru/family-minecraft-modpack/releases/download/0.1.2/mods.tar.gz')
wget.download('https://git.sarushinobie.dev/saru/family-minecraft-modpack/releases/download/0.1.4/mods.tar.gz')
# this is insane. `wget` the fucking goat. who knew windows package manager was so cool?
except:
print(); print("[ERR!] Fatal: Download failed! (Is Adolin online?)"); print()
@ -217,9 +219,9 @@ except:
extract_tar('mods.tar.gz', 'mods')
# ('tarfile', 'directory to extract to')
print(""); print("sigma!")
print("all done!")
print(""); print("all done!")
print("This window will exit and close in ten seconds. :)")
print("(unless you're on linux, then you get to do it on your own. like usual.)")
time.sleep(9)
print_ascii_art()
# print boykisser to console

19
installer.sh Executable file
View File

@ -0,0 +1,19 @@
#!/bin/bash
# this is the quick installer for linux users (blurghh)
echo "[INFO]: Installer Quick Script for Linux"
echo "[INFO]: Installer Version: 0.1.4"
echo "[INFO]: Welcome!"
rm installer
wget https://git.sarushinobie.dev/saru/family-minecraft-modpack/releases/download/0.1.4/installer
chmod +x ./installer
./installer
rm installer
# just realized you have to chmod +x the "quick install"
# script too, is there a point even?
# i mean, at least it makes sure to download the newest
# installer version? *this* script shouldn't deprecate...