Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Create .deb release #63

Open
JJTech0130 opened this issue Oct 30, 2020 · 5 comments
Open

Create .deb release #63

JJTech0130 opened this issue Oct 30, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@JJTech0130
Copy link
Owner

Release as a .deb file.

@JJTech0130 JJTech0130 added the enhancement New feature or request label Oct 30, 2020
@JJTech0130 JJTech0130 added this to the Packaging milestone Oct 30, 2020
@JJTech0130 JJTech0130 self-assigned this Oct 30, 2020
@Virusnest
Copy link

Yes, please.

@lnee94
Copy link

lnee94 commented Aug 18, 2021

i think i can create a shell script to do this

@JJTech0130
Copy link
Owner Author

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 JJTech0130 assigned lnee94 and unassigned JJTech0130 Aug 18, 2021
@lnee94
Copy link

lnee94 commented Sep 30, 2021

#!/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
Copy link

lnee94 commented Sep 30, 2021

so take the ORIGINAL muiltmc deb and it will patch it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants