-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat/add context menu #236
Conversation
if (game.executablePath) { | ||
gamePath = path.dirname(game.executablePath); | ||
} else { | ||
gamePath = game.folderName | ||
? path.join(await getDownloadsPath(), game.folderName) | ||
: await getDownloadsPath(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This opens either the installer folder or the game folder, but I think this may be confusing. The installer's folder and the executable's path should be something different. We could disable the option in the context menu if the path is missing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since games can have a "done installation" folder (where the .exe is located at) and a "to install" folder (where the default installation path is set at configs) it would be a better experience to always have something addressed to "Open archive location" button, if there is any archives at all.
src/renderer/src/pages/game-details/hero/hero-panel-actions.tsx
Outdated
Show resolved
Hide resolved
adjusted |
542307e
to
2666d48
Compare
Everything looks good but the transformation from Also, I'm still wondering why is updating the library needed before opening a game. I'm not saying it is wrong, but I don't get it. Could you elaborate? |
debugging reasons. |
LGTM |
aa6be6b
to
4fdc37f
Compare
review/merge please |
src/main/entity/game.entity.ts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to have changes on this file. Keep as little changes as possible, please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to have changes on this file. Keep as little changes as possible, please.
And AFAIK, the function used in the event needs to be asyn
src/main/events/library/open-game.ts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to have changes on this file. Keep as little changes as possible, please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discord icon is not used anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should sub for telegram?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to have changes on this file. Keep as little changes as possible, please.
Are you using Prettier with the project settings? A few changes seems that would be fixed by prettier. And overall, try to make as little changes as possible. I made just a quick review |
I am using the prettier. |
adjusted |
b8d45e2
to
4a1967d
Compare
solve #220
solve #130
solve #118
solve #71
solve #416
solve #484
partial solve #421
partial solve #468