def build_folderpath(self): value = self.buildfolderBox.text() if os.path.exists(value): bds.data_serialize('BuildDirectory', value) else: QtWidgets.QMessageBox.warning(self, "Path Error!", "Path to the Build Folder does not exist!\nInvalid Path.")
def steam_folderpath(self): value = self.steamsdkBox.text() if os.path.exists(value): bds.data_serialize('SteamSDKDirectory', value) else: QtWidgets.QMessageBox.warning(self, "Path Error!", "Path to SteamSDK does not exist!\nInvalid Path.")
def set_appbranch(self): value = self.appbranchBox.text() bds.data_serialize('SteamBranch', value)
def set_appid(self): value = self.appidBox.text() bds.data_serialize('AppID', value)
def set_password(self): value = self.passwordBox.text() bds.data_serialize('SteamPassword', value)
def set_login(self): value = self.loginBox.text() bds.data_serialize('SteamLogin', value)
def btn_build_folderpath(self): folderpath = QtWidgets.QFileDialog.getExistingDirectory(self, 'Select Folder') bds.data_serialize('BuildDirectory', folderpath) self.buildfolderBox.setText(folderpath)
def btn_steam_folderpath(self): folderpath = QtWidgets.QFileDialog.getExistingDirectory(self, 'Select Folder') bds.data_serialize('SteamSDKDirectory', folderpath) self.steamsdkBox.setText(folderpath)