Skip to content

Commit

Permalink
[Feature] Option: Add games as Non-Steam Game (#1331)
Browse files Browse the repository at this point in the history
* Restructure of shortcut.ts
first poc of add none steam game function

* First poc

* Add function to remove game

* Added a dummy frontend implementation

* lint fix

* Fixed paths and executables for different os

* Take usage of steam-shortcut-editor
Wrote tests for backend functions

* lint fix

* i18n and fixes

* Review suggestions

* Added --no-sandbox otpion

* Added more tests and fixed object check

* Fixed tests

* Better error messages and improved tests

* Clean up and frontend notifications

* lint fix

* yarn i18n

* First review fixes

* Review fixes (2)

* i18n update

* Added HBL created shortcuts.vdf for testing

* Review fixes (3)

* Review fixes (4)

* Add support for more images

* Clean up
- removed unessecary code
- added function to remove images
- update tests

* Clean up code and add more images

* Added background image for gog without title

* Replace logo art with transparent iamge if null
- reverted last commit aswell

* lint fix

* Rewrote creation of transparent logo

* lint fix

* Added update cicle on frontend

* Fixed where case insensitive keys were not checked
- resize bigpicture image to resolution
  steam expects

* Add remove button
- fixed windows portable path
- resize images to steam resolution

* @felipecrs Fixed portable path

* Fixed translation keys

* Fixed translation keys (2)

* use parent's height for loading icon of steam shortcut

* Add option to specify steam folder

* Remove commented code

* Final clean up

* Review fiyes (1)

* Update electron/constants.ts

Co-authored-by: Felipe Santos <felipecassiors@gmail.com>

* Added function isAddedToSteam and removed
electron-store

* remove unessecary console.log

* Review changes

* Clean up eos frontend

* yarn lint

* Fix double import

* lint fix

* Added fetching of steamgriddb

* Revert steamgriddb implementation

* prettier-fix

* Generate blurry images

* Save dataURL as files

* Review fixes

Co-authored-by: Ariel Juodziukynas <arieljuod@gmail.com>
Co-authored-by: Felipe Santos <felipecassiors@gmail.com>
  • Loading branch information
3 people authored Jul 15, 2022
1 parent 2a7a2ec commit 2617652
Show file tree
Hide file tree
Showing 102 changed files with 2,633 additions and 156 deletions.
6 changes: 6 additions & 0 deletions electron/__mocks__/electron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ export const dialog = {
export const app = {
getPath: jest.fn().mockReturnValue(tmpdir())
}

export class Notification {
public show() {
return
}
}
Loading

0 comments on commit 2617652

Please sign in to comment.