Skip to content

Commit

Permalink
1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
FrogTheFrog committed May 2, 2017
1 parent 62c8b53 commit dd54d64
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# Change Log
All notable changes to this project will be documented in this file.

## 1.1.4 - 2017-05-02
### Fixed
* `shortcuts.vdf` should now have recurring titles removed as intended. If you had titles disappear, it was because Steam changed `AppName` property to `appname`. That resulted in too many titles and Steam got confused. Simply re-adding all titles via SRM should fix it as it will delete duplicates.

## 1.1.3 - 2017-05-01
### Added
* Greedy search option which will search for images using both `${title}` and `${fuzzyTitle}`

### Changed
### Fixed
* Added a temporary fix, which should prevent `shortcuts.vdf` corruption

## 1.1.2 - 2017-05-01
Expand All @@ -14,6 +18,8 @@ All notable changes to this project will be documented in this file.

### Changed
* Glob-regex now joins capture pairs. See [here](https://regex101.com/r/xasqq9/2) how it can be used

### Fixed
* Alert component now times out as intended (previously it would just stay there until user clicked it or it received a new message to display)

## 1.1.1 - 2017-05-01
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "steam-rom-manager",
"version": "1.1.3",
"version": "1.1.4",
"license": "GPL-3.0",
"description": "An app for managing ROMs in Steam",
"author": {
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/lib/vdfList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export class VDFList {
appId = this.generateAppId(exe, newTitles[i]);

shortcutEntries.push({
AppName: newTitles[i],
appname: newTitles[i],
exe: exe,
StartDir: '"' + path.dirname(previewData[newTitles[i]].steamDirectories[steamDirectory].executableLocation) + path.sep + '"',
LaunchOptions: previewData[newTitles[i]].steamDirectories[steamDirectory].argumentString,
Expand Down Expand Up @@ -241,7 +241,7 @@ export class VDFList {
}

for (let i = 0; i < shortcutEntries.length; i++) {
if (titlesToRemove.findIndex(item => item.entry === shortcutEntries[i]['AppName']) !== -1)
if (titlesToRemove.findIndex(item => item.entry === (shortcutEntries[i]['appname'] || shortcutEntries[i]['AppName'])) !== -1)
shortcutEntries[i] = undefined;
}

Expand Down

0 comments on commit dd54d64

Please sign in to comment.