vencord fixes
This commit is contained in:
parent
9d9e57df1e
commit
906deee580
File diff suppressed because one or more lines are too long
|
@ -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"
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue