kevinlekiller / eso-linux-launcher Goto Github PK
View Code? Open in Web Editor NEWLauncher for Elder Scrolls Online on Linux with a addon updater and a TTC price table updater.
License: GNU General Public License v2.0
Launcher for Elder Scrolls Online on Linux with a addon updater and a TTC price table updater.
License: GNU General Public License v2.0
I'm not sure what is the purpose of this ADIRS:
ADIRS=""
for dir in $(ls -d "$TMPDIR/"*); do
dir=$(basename "$dir")
rm -rf "$1/$dir"
mv -f "$TMPDIR/$dir" "$1/"
if [[ $ADIRS == "" ]]; then
ADIRS="$dir"
else
ADIRS="$ADIRS|$dir"
fi
done
# del url name ver dirs
sed -i "s#$line#$AURI $ANAME $RVERS $ADIRS#" "$CWD/addons.txt"
It seems like all it does is fills the addons.txt with tons of unnecessary clutter text. Every line turns into URL, name, version + very very long directories string that seems to be not needed actually.
I removed it, so it looks like this:
for dir in $(ls -d "$TMPDIR/"*); do
dir=$(basename "$dir")
rm -rf "$1/$dir"
mv -f "$TMPDIR/$dir" "$1/"
done
# del url name ver dirs
sed -i "s#$line#$AURI $ANAME $RVERS#" "$CWD/addons.txt"
and my addont.txt now has just what is actually needed: URL, name, version.
https://us.tamrieltradecentre.com/pc/Trade/WebClient
As seen there, there's an API which receives the information:
static PostTrade(tradeModels) {
return __awaiter(this, void 0, void 0, function* () {
if (tradeModels.length == 0)
return null;
const resultString = yield HttpService.PostJsonAsync("/api/PC/Trade/PostTrade", tradeModels);
const bulkPostTradeResult = JSON.parse(resultString);
return bulkPostTradeResult;
});
}
I'm not very familiar with shell scripting, but it looks like it should be feasible to add in scripting to (optionally) merge HarvestMap data - their powershell script is runnable if you install powershell for linux, but I suspect everything it does is reproducible in a bash script, negating the need to rely on a powershell script.
Maybe i go wrong but i think in the zipped Price Table of the EU users, the file is named PriceTableEU.lua and need to be renamed after extract in PriceTable.lua.
For some addons, I'll get this message "(23) Failed writing body" when updating.
It doesn't seem to necessarily have a negative impact, but I thought it better to report.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.