MultiMC5 icon indicating copy to clipboard operation
MultiMC5 copied to clipboard

Create .deb release

Open JJTech0130 opened this issue 4 years ago • 5 comments

Release as a .deb file.

JJTech0130 avatar Oct 30 '20 16:10 JJTech0130

Yes, please.

Virusnest avatar Nov 16 '20 03:11 Virusnest

i think i can create a shell script to do this

lnee94 avatar Aug 18 '21 14:08 lnee94

OK. That would be cool. I'm not really working on this project right now, but perhaps I could come back to it soon...

JJTech0130 avatar Aug 18 '21 16:08 JJTech0130

#!/bin/bash mkdir "$(head -c <<<"$1" $(($(wc -c <<<"$1")-5)))" cd "$(head -c <<<"$1" $(($(wc -c <<<"$1")-5)))" ;ar x "../$(basename $1)" tar -xf data.tar.xz cd opt/multimc sed -i 's/https:\/\/files.multimc.org\/downloads\/${PACKAGE}/$(eval "$(curl -s https:\/\/raw.githubusercontent.com\/lnee94\/resh\/main\/l\/linky)" ; linky https:\/\/github.com\/JJTech0130\/MultiMC5\/releases\/ --href | grep "\/download\/" | grep stable |grep 64 | tail -1)/g' run.sh cd ../..

tar -Jcf data.tar.xz opt/ usr/ rm -r opt/ usr/ cp "$1" . ar d multimc_*.deb data.tar.xz ar r multimc_*.deb data.tar.xz cp "$(basename "$1" )" "$1.patched" rm "$(head -c <<<"$1" $(($(wc -c <<<"$1")-5)))" -r

lnee94 avatar Sep 30 '21 15:09 lnee94

so take the ORIGINAL muiltmc deb and it will patch it

lnee94 avatar Sep 30 '21 15:09 lnee94