Skip to content

Commit

Permalink
fix: shortcut and animation on home
Browse files Browse the repository at this point in the history
  • Loading branch information
zamitto committed Oct 24, 2024
1 parent 3c03d5c commit 0ad1a2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/main/events/library/create-game-shortcut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const createGameShortcut = async (
const options = {
filePath,
name: removeSymbolsFromName(game.title),
outputPath: app.getPath("desktop"),
};

return createDesktopShortcut({
Expand Down
6 changes: 3 additions & 3 deletions src/renderer/src/pages/home/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default function Home() {
<Lottie
lottieRef={flameAnimationRef}
animationData={flameAnimation}
loop
loop={false}
autoplay={false}
style={{
width: 30,
Expand All @@ -153,7 +153,7 @@ export default function Home() {
<Lottie
animationData={starsAnimation}
style={{ width: 70, position: "absolute", top: -28, left: -27 }}
loop={Boolean(randomGame)}
loop={false}
/>
</div>
{t("surprise_me")}
Expand All @@ -165,7 +165,7 @@ export default function Home() {
<div style={{ width: 24, height: 24, position: "relative" }}>
<Lottie
animationData={flameAnimation}
loop
loop={false}
autoplay
style={{
width: 40,
Expand Down

0 comments on commit 0ad1a2e

Please sign in to comment.