1
0
Fork 0
mirror of synced 2024-05-29 08:50:03 +12:00

Removed unused disable protondb option

This commit is contained in:
Dummerle 2021-08-17 20:15:27 +02:00
parent a0b309e3da
commit ed81bbf399
2 changed files with 0 additions and 12 deletions

View file

@ -1,7 +1,6 @@
#!/usr/bin/python
import os
import platform
from argparse import ArgumentParser
from rare import __version__
@ -14,11 +13,6 @@ def main():
parser.add_argument("-S", "--silent", action="store_true",
help="Launch Rare in background. Open it from System Tray Icon")
parser.add_argument("--offline", action="store_true", help="Launch Rare in offline mode")
if platform.system() != "Windows":
parser.add_argument("--disable-protondb", action="store_true", dest="disable_protondb",
help="Do not download and check data from ProtonDB. Disable it, if you don't need grades")
parser.add_argument("--enable-protondb", action="store_true", dest="enable_protondb",
help="Enable ProtonDB data, after disabled")
parser.add_argument("--desktop-shortcut", action="store_true", dest="desktop_shortcut",
help="Use this, if there is no link on desktop to start Rare")

View file

@ -1,7 +1,6 @@
import configparser
import logging
import os
import platform
import sys
import time
@ -67,11 +66,6 @@ class App(QApplication):
self.setApplicationName("Rare")
self.setOrganizationName("Rare")
settings = QSettings()
if platform.system() != "Windows":
if args.disable_protondb:
settings.setValue("disable_protondb", True)
if args.enable_protondb:
settings.remove("disable_protondb")
# Translator
self.translator = QTranslator()