Browse Source

Fuck github some more

pull/3/head
Duke Leto 3 years ago
parent
commit
1a684ddee6
  1. 2
      src/mainwindow.ui
  2. 4
      src/rpc.cpp
  3. 4
      src/settings.ui

2
src/mainwindow.ui

@ -1607,7 +1607,7 @@
</action>
<action name="actionCheck_for_Updates">
<property name="text">
<string>Check github.com for &amp;updates</string>
<string>Check git.hush.is for &amp;updates</string>
</property>
</action>
<action name="actionTurnstile_Migration">

4
src/rpc.cpp

@ -1031,7 +1031,7 @@ void RPC::checkForUpdate(bool silent) {
if (conn == nullptr)
return noConnection();
QUrl cmcURL("https://fuck.github.com/repos/MyHush/SilentDragon/releases");
QUrl cmcURL("https://git.hush.is/hush/SilentDragon/releases");
QNetworkRequest req;
req.setUrl(cmcURL);
@ -1075,7 +1075,7 @@ void RPC::checkForUpdate(bool silent) {
.arg(currentVersion.toString()),
QMessageBox::Yes, QMessageBox::Cancel);
if (ans == QMessageBox::Yes) {
QDesktopServices::openUrl(QUrl("https://github.com/MyHush/SilentDragon/releases"));
QDesktopServices::openUrl(QUrl("https://git.hush.is/hush/SilentDragon/releases"));
} else {
// If the user selects cancel, don't bother them again for this version
s.setValue("update/lastversion", maxVersion.toString());

4
src/settings.ui

@ -473,7 +473,7 @@
<item row="9" column="0" colspan="2">
<widget class="QCheckBox" name="chkCheckUpdates">
<property name="text">
<string>Check github for updates at startup</string>
<string>Check git.hush.is for updates at startup</string>
</property>
</widget>
</item>
@ -555,7 +555,7 @@
<item row="10" column="0" colspan="2">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Connect to github on startup to check for updates</string>
<string>Connect to git.hush.is on startup to check for updates</string>
</property>
</widget>
</item>

Loading…
Cancel
Save