mirror of
				https://github.com/hydralauncher/hydra.git
				synced 2025-03-09 15:40:26 +00:00 
			
		
		
		
	fix: shortcut and animation on home
This commit is contained in:
		
							parent
							
								
									3c03d5ce16
								
							
						
					
					
						commit
						0ad1a2e3fe
					
				
					 2 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
					@ -24,6 +24,7 @@ const createGameShortcut = async (
 | 
				
			||||||
    const options = {
 | 
					    const options = {
 | 
				
			||||||
      filePath,
 | 
					      filePath,
 | 
				
			||||||
      name: removeSymbolsFromName(game.title),
 | 
					      name: removeSymbolsFromName(game.title),
 | 
				
			||||||
 | 
					      outputPath: app.getPath("desktop"),
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return createDesktopShortcut({
 | 
					    return createDesktopShortcut({
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -126,7 +126,7 @@ export default function Home() {
 | 
				
			||||||
                      <Lottie
 | 
					                      <Lottie
 | 
				
			||||||
                        lottieRef={flameAnimationRef}
 | 
					                        lottieRef={flameAnimationRef}
 | 
				
			||||||
                        animationData={flameAnimation}
 | 
					                        animationData={flameAnimation}
 | 
				
			||||||
                        loop
 | 
					                        loop={false}
 | 
				
			||||||
                        autoplay={false}
 | 
					                        autoplay={false}
 | 
				
			||||||
                        style={{
 | 
					                        style={{
 | 
				
			||||||
                          width: 30,
 | 
					                          width: 30,
 | 
				
			||||||
| 
						 | 
					@ -153,7 +153,7 @@ export default function Home() {
 | 
				
			||||||
              <Lottie
 | 
					              <Lottie
 | 
				
			||||||
                animationData={starsAnimation}
 | 
					                animationData={starsAnimation}
 | 
				
			||||||
                style={{ width: 70, position: "absolute", top: -28, left: -27 }}
 | 
					                style={{ width: 70, position: "absolute", top: -28, left: -27 }}
 | 
				
			||||||
                loop={Boolean(randomGame)}
 | 
					                loop={false}
 | 
				
			||||||
              />
 | 
					              />
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
            {t("surprise_me")}
 | 
					            {t("surprise_me")}
 | 
				
			||||||
| 
						 | 
					@ -165,7 +165,7 @@ export default function Home() {
 | 
				
			||||||
            <div style={{ width: 24, height: 24, position: "relative" }}>
 | 
					            <div style={{ width: 24, height: 24, position: "relative" }}>
 | 
				
			||||||
              <Lottie
 | 
					              <Lottie
 | 
				
			||||||
                animationData={flameAnimation}
 | 
					                animationData={flameAnimation}
 | 
				
			||||||
                loop
 | 
					                loop={false}
 | 
				
			||||||
                autoplay
 | 
					                autoplay
 | 
				
			||||||
                style={{
 | 
					                style={{
 | 
				
			||||||
                  width: 40,
 | 
					                  width: 40,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue