Commit 5caa5c48 authored by nanahira's avatar nanahira

Why the hack this mono image does not contain wget?

parent 7cb2eddc
...@@ -3,6 +3,11 @@ set -x ...@@ -3,6 +3,11 @@ set -x
set -o errexit set -o errexit
DEX_VERSION=$(grep -oP '\[DataEditorX\](.+)\[DataEditorX\]' DataEditorX/readme.txt | sed 's/\[DataEditorX\]//g') DEX_VERSION=$(grep -oP '\[DataEditorX\](.+)\[DataEditorX\]' DataEditorX/readme.txt | sed 's/\[DataEditorX\]//g')
# apt packages
sed -i '/download.mono-project.com/d' /etc/apt/sources.list /etc/apt/sources.list.d/*
apt update
apt -y install wget p7zip-full
# data files # data files
wget -O DataEditorX/data/constant.lua https://koishi.pro/ygopro/script/constant.lua wget -O DataEditorX/data/constant.lua https://koishi.pro/ygopro/script/constant.lua
wget -O DataEditorX/data/strings.conf https://koishi.pro/ygopro/strings.conf wget -O DataEditorX/data/strings.conf https://koishi.pro/ygopro/strings.conf
...@@ -10,11 +15,6 @@ wget -O DataEditorX/data/strings.conf https://koishi.pro/ygopro/strings.conf ...@@ -10,11 +15,6 @@ wget -O DataEditorX/data/strings.conf https://koishi.pro/ygopro/strings.conf
# build # build
xbuild /p:Configuration=Release /p:OutDir=$PWD/output/ /p:TargetFrameworkVersion=v4.6 xbuild /p:Configuration=Release /p:OutDir=$PWD/output/ /p:TargetFrameworkVersion=v4.6
# zip tool
sed -i '/download.mono-project.com/d' /etc/apt/sources.list /etc/apt/sources.list.d/*
apt update
apt -y install p7zip-full
# zip # zip
mkdir -p dist/releases mkdir -p dist/releases
cd output cd output
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment