Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
cbartondock committed Mar 28, 2023
1 parent cd7c858 commit fdafa8f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ All notable changes to this project will be documented in this file.
* [x] Automatic Preset Updating.
* [x] Make icons work for Steam parser (with the caveat that they will most likely be overwritten when a developer updates their game).

## 2.3.47
### Added
* Ability to exclude non-local artwork in exceptions (addresses [issue 398](https://github.com/SteamGridDB/steam-rom-manager/issues/398))
### Fixed
* Image Provider resetting to SGDB even if none was previously selected ([issue 336](https://github.com/SteamGridDB/steam-rom-manager/issues/336))

## 2.3.46
## Added
* Ability to filter apps by parser title in addition to steam category.
Expand Down
4 changes: 3 additions & 1 deletion src/renderer/components/ng-select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,15 @@ export class NgSelectComponent implements ControlValueAccessor {

writeValue(value: any, suppressChanges: boolean = true): void {
let optionIndex = this.getOptionId(value);

if (optionIndex !== -1)
this.selectOption(optionIndex, false, suppressChanges);
else if (value instanceof Array) {
for (let i = 0; i < value.length; i++) {
this.writeValue(value[i], suppressChanges);
}
if(!value.length) {
this.clearOptions();
}
}
else if (this.values.length==0 && value && value.title) {
this.changeOptions([{
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/modifiers/user-configuration.modifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let versionUp = (version: number) => { return version + 1 };

export const userConfiguration: ValidatorModifier<UserConfiguration> = {
controlProperty: 'version',
latestVersion: 12,
latestVersion: 13,
fields: {
undefined: {
'version': { method: () => 0 },
Expand Down
4 changes: 1 addition & 3 deletions src/renderer/services/parsers.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -524,11 +524,9 @@ export class ParsersService {
}).then((data) => {
let validatedConfigs: { saved: UserConfiguration, current: UserConfiguration }[] = [];
let errorString: string = '';
let updateNeeded: boolean = false;
for (let i = 0; i < data.length; i++) {
// TODO get rid of this ugly hack for making specified accounts mandatory for steam parser only
data[i].userAccounts.specifiedAccounts = data[i].userAccounts.specifiedAccounts || '';
updateNeeded=true;
if(parserInfo.superTypesMap[data[i].parserType] !== parserInfo.ROMType) {
data[i].titleFromVariable.tryToMatchTitle = false;
data[i].executableModifier = "\"${exePath}\"";
Expand All @@ -549,7 +547,7 @@ export class ParsersService {
}));
}
this.userConfigurations.next(validatedConfigs);
if(updateNeeded) {
if(data.length) {
this.saveUserConfigurations();
}
}).catch((error) => {
Expand Down

0 comments on commit fdafa8f

Please sign in to comment.