Supports remote decompile
This commit is contained in:
1
.gitmodules
vendored
1
.gitmodules
vendored
@@ -1,3 +1,4 @@
|
||||
[submodule "work/Paper"]
|
||||
path = work/Paper
|
||||
url = https://github.com/PaperMC/Paper.git
|
||||
branch = master
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
[](https://akarin.io)
|
||||
[](https://discord.gg/fw2pJAj)
|
||||
[](https://bstats.org/plugin/bukkit/Torch)
|
||||
[](https://circleci.com/gh/Akarin-project/Akarin/tree/ver/1.12.2)
|
||||
[](https://circleci.com/gh/Akarin-project/Akarin/tree/ver/master)
|
||||
|
||||
Akarin is currently **under heavy development** and contributions are welcome!
|
||||
|
||||
|
||||
@@ -10,6 +10,14 @@ paperworkdir="$basedir/work/Paper/work"
|
||||
if [ "$2" == "--setup" ] || [ "$3" == "--setup" ] || [ "$4" == "--setup" ]; then
|
||||
echo "[Akarin] Setup Paper.."
|
||||
(
|
||||
if [ "$2" == "--remote" ] || [ "$3" == "--remote" ] || [ "$4" == "--remote" ]; then
|
||||
cd "$paperworkdir"
|
||||
if [ -d "Minecraft" ]; then
|
||||
rm Minecraft/ -r
|
||||
fi
|
||||
git clone https://github.com/Akarin-project/Minecraft.git
|
||||
fi
|
||||
|
||||
cd "$paperbasedir"
|
||||
./paper patch
|
||||
)
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
(
|
||||
set -e
|
||||
basedir="$(cd "$1" && pwd -P)"
|
||||
|
||||
(git submodule update --init --remote && git add . && git commit -m 'Upstream Paper') || (
|
||||
echo "Failed to upstream"
|
||||
exit 1
|
||||
) || exit 1
|
||||
|
||||
)
|
||||
1
work/Paper
Submodule
1
work/Paper
Submodule
Submodule work/Paper added at ffd51cbe2d
Reference in New Issue
Block a user