mirror of
https://gitlab.com/Nanolx/qwad.git
synced 2024-11-22 10:39:19 +01:00
only chdir on linux
This commit is contained in:
parent
8f43b74dd4
commit
4a9edff7ff
5
Qwad.pyw
5
Qwad.pyw
@ -8,9 +8,10 @@ from PyQt4.QtCore import QTranslator, QString, QLocale
|
|||||||
from GUI.VenPri import MWQwad, nusDownloadingCLI, PackingCLI, UnpackingCLI, ShowTMD
|
from GUI.VenPri import MWQwad, nusDownloadingCLI, PackingCLI, UnpackingCLI, ShowTMD
|
||||||
from TitleIDs import TitleDict, IOSdict, swap_dic, ChannelCLIDict, ChannelJAPDict, ChannelPALDict, ChannelUSADict, ChannelJAPVerDict, ChannelPALVerDict, ChannelUSAVerDict
|
from TitleIDs import TitleDict, IOSdict, swap_dic, ChannelCLIDict, ChannelJAPDict, ChannelPALDict, ChannelUSADict, ChannelJAPVerDict, ChannelPALVerDict, ChannelUSAVerDict
|
||||||
|
|
||||||
if os.getenv("QWAD_X_DIR"):
|
if sys.platform.startswith('linux'):
|
||||||
|
if os.getenv("QWAD_X_DIR"):
|
||||||
os.chdir(os.getenv("QWAD_X_DIR"))
|
os.chdir(os.getenv("QWAD_X_DIR"))
|
||||||
else:
|
else:
|
||||||
os.chdir(os.getenv("HOME"))
|
os.chdir(os.getenv("HOME"))
|
||||||
|
|
||||||
class MultipleOption(Option):
|
class MultipleOption(Option):
|
||||||
|
Loading…
Reference in New Issue
Block a user