vencord fixes

This commit is contained in:
Malte Jürgens 2022-10-25 20:27:22 +02:00
parent 9d9e57df1e
commit 906deee580
No known key found for this signature in database
GPG Key ID: D29FBD5F93C0CFC3
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -14,9 +14,9 @@ if [ ! -d "Vencord" ]; then
git clone https://github.com/Vendicated/Vencord.git
cd Vencord
else
echo_status "Pulling Vencord changes"
echo_status "Fetching Vencord changes"
cd Vencord
git pull
git fetch
fi
echo_status "Checking out latest commit"

View File

@ -26,7 +26,7 @@ QVariant WebClass::vencordSend(QString event, QVariantList args) {
if (event == "VencordGetQuickCss") {
if (QFile::exists(quickCssFile)) {
QFile file(quickCssFile);
if (!file.open(QIODevice::WriteOnly))
if (!file.open(QIODevice::ReadOnly))
qFatal("Failed to load %s with error: %s",
quickCssFile.toLatin1().constData(),
file.errorString().toLatin1().constData());