MERGE: First draft of POSIX-compliant installer and initial commit for .gitignore
#10
7
LICENSE
Normal file
7
LICENSE
Normal file
@ -0,0 +1,7 @@
|
||||
Boost Software License - Version 1.0 - August 17th, 2003
|
||||
|
||||
Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following:
|
||||
|
||||
The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
11
README.md
11
README.md
@ -21,7 +21,7 @@
|
||||
### [Cardinal Components API](https://modrinth.com/mod/cardinal-components-api)
|
||||
|
||||
|
||||
### [Botarium (Liquid and Energy Transfer API](https://modrinth.com/mod/botarium)
|
||||
### [Botarium (Liquid and Energy Transfer API)](https://modrinth.com/mod/botarium)
|
||||
|
||||
|
||||
### [Balm API](https://modrinth.com/mod/balm)
|
||||
@ -69,9 +69,6 @@
|
||||
### [Create Crafts & Additions](https://modrinth.com/mod/createaddition)
|
||||
|
||||
|
||||
### [Create Steam & Rails](https://modrinth.com/mod/create-steam-n-rails)
|
||||
|
||||
|
||||
### [Create Power Loader](https://modrinth.com/mod/create-power-loader-fabric)
|
||||
|
||||
|
||||
@ -240,19 +237,19 @@
|
||||
### [Mobtimizations](https://modrinth.com/mod/mobtimizations)
|
||||
|
||||
|
||||
### [Minimotd](https://modrinth.com/plugin/minimotd)
|
||||
### [MiniMOTD](https://modrinth.com/plugin/minimotd)
|
||||
|
||||
|
||||
### [Lazy DFU](https://modrinth.com/mod/lazydfu)
|
||||
|
||||
|
||||
### [Lamb dynamic lights](https://modrinth.com/mod/lambdynamiclights)
|
||||
### [Lamb Dynamic Lights](https://modrinth.com/mod/lambdynamiclights)
|
||||
|
||||
|
||||
### [Item Model Gap Fix](https://modrinth.com/mod/item-model-fix)
|
||||
|
||||
|
||||
### [3d Skin Layers](https://modrinth.com/mod/3dskinlayers)
|
||||
### [3D Skin Layers](https://modrinth.com/mod/3dskinlayers)
|
||||
|
||||
|
||||
### [Sodium](https://modrinth.com/mod/sodium/versions?g=1.20.1&l=fabric)
|
||||
|
55
installer-linux.sh
Normal file
55
installer-linux.sh
Normal file
@ -0,0 +1,55 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "################"
|
||||
echo SCRIPT STARTING
|
||||
echo "################"
|
||||
|
||||
#template
|
||||
#printf "${process0}"\\r;
|
||||
#zip;
|
||||
#printf "${process0} \e[32m[DONE!]\e[0m"
|
||||
|
||||
moddir="/home/$USER/.minecraft"
|
||||
cd ${moddir}
|
||||
|
||||
process0="Backing up existing mod folder..."
|
||||
printf "${process0}"\\r;
|
||||
zip -r -q ./mods/.mod-folder-backup.zip mods && printf "${process0} \e[32m[DONE!]\e[0m"
|
||||
echo
|
||||
sleep 1
|
||||
|
||||
process1="Removing old mods..."
|
||||
printf "${process1}"\\r;
|
||||
sudo rm /home/$USER/.minecraft/mods/* && printf "${process1} \e[32m[DONE!]\e[0m"
|
||||
echo
|
||||
sleep 1
|
||||
|
||||
|
||||
|
||||
moddir="/home/$USER/.minecraft/mods"
|
||||
cd ${moddir}
|
||||
|
||||
|
||||
|
||||
process2="Downloading mod package..."
|
||||
printf "${process2}"\\r;
|
||||
sudo curl http://192.168.7.208:420/api/shares/YxMjU3N/files/e641be0e-bccd-4f3d-8a86-7dbbb8f88263 -O -J -L -s && printf "${process2} \e[32m[DONE!]\e[0m"
|
||||
echo
|
||||
sleep 1
|
||||
|
||||
|
||||
process3="Extracting package..."
|
||||
printf "${process3}"\\r;
|
||||
unzip -q mod-archive.zip;
|
||||
printf "${process3} \e[32m[DONE!]\e[0m"
|
||||
echo
|
||||
sleep 1
|
||||
|
||||
#yes this is all for show it looks cool shut up
|
||||
printf "Finalizing"\\r; sleep 1; printf "Finalizing."\\r; sleep 1; printf "Finalizing.."\\r; sleep 1; printf "Finalizing..."\\r; sleep 1;printf "Finalizing... \e[32m[DONE!]\e[0m";
|
||||
echo
|
||||
sleep 1
|
||||
echo Exiting...
|
||||
sleep 4
|
||||
|
||||
exit
|
26
installer-windows.bat
Normal file
26
installer-windows.bat
Normal file
@ -0,0 +1,26 @@
|
||||
@echo off
|
||||
|
||||
cd /D "%~dp0"
|
||||
|
||||
set modfolder="%USERPROFILE%\AppData\Roaming\.minecraft\mods"
|
||||
|
||||
echo "################"
|
||||
echo SCRIPT STARTING
|
||||
echo "################"
|
||||
echo.
|
||||
@timeout /t 1 >nul 2>&1
|
||||
|
||||
echo Updating Mods...
|
||||
cd /d %modfolder%
|
||||
|
||||
curl "https://git.adolin.xyz/saru/lobotomy-mod-pack/raw/branch/main/mods.tar.gz" -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8" -H "Accept-Language: en-US,en;q=0.5" -H "Accept-Encoding: gzip, deflate, br, zstd" -H "Prefer: safe" -H "Alt-Used: git.adolin.xyz" -H "Connection: keep-alive" -H "Cookie: i_like_gitea=dc903e38b2389103; gitea_incredible=kkE9G8qj00^%^3A1d45072f9b1b6206d863d5d7d92d0bcc35eddc70b8b6a7e65bf1a3ab47d50bcb; lang=en-US; _csrf=wYNHHVVAzY0SiFtV8czykrO40fk6MTcyOTM5OTc3MzQ1Nzk5MjA0MA" -H "Upgrade-Insecure-Requests: 1" -H "Sec-Fetch-Dest: document" -H "Sec-Fetch-Mode: navigate" -H "Sec-Fetch-Site: same-origin" -H "Sec-Fetch-User: ?1" -H "Priority: u=0, i" -H "TE: trailers" -OJL
|
||||
|
||||
@timeout /t 2 >nul 2>&1
|
||||
del *.jars
|
||||
@timeout /t 2 >nul 2>&1
|
||||
|
||||
tar -xvzf mods.tar.gz -C %modfolder%
|
||||
|
||||
echo Sigma!
|
||||
echo All done.
|
||||
exit
|
Reference in New Issue
Block a user