Compare commits

..

18 Commits

Author SHA1 Message Date
Zamitto
0a86ec89aa chore: bump version
Some checks failed
Release / build (ubuntu-latest) (push) Has been cancelled
Release / build (windows-latest) (push) Has been cancelled
2024-10-29 18:49:30 -03:00
Zamitto
238d207590 Merge pull request #1159 from hydralauncher/fix/remove-wine-prefix-not-null-on-pre-search
fix: remove wine prefix on pre search
2024-10-29 16:41:19 -03:00
Zamitto
98e2d2ec0d chore: update steam-games.json 2024-10-29 11:12:55 -03:00
Zamitto
717dab5c90 Merge pull request #1158 from Zormein/patch-2
Some checks are pending
Release / build (ubuntu-latest) (push) Waiting to run
Release / build (windows-latest) (push) Waiting to run
Update translation.json
2024-10-28 19:51:40 -03:00
Zamitto
d73a46aac2 feat: remove wine prefix on pre search 2024-10-28 19:50:16 -03:00
Zamitto
9f9a4eba18 feat: remove wine prefix on pre search 2024-10-28 18:12:17 -03:00
Zamitto
3bddd7e76b feat: remove wine prefix on pre search 2024-10-28 17:38:27 -03:00
Zormein
7cfc871be2 Update translation.json
Fix little grammar error
2024-10-28 21:25:01 +02:00
Zamitto
5705de7d7a chore: add FAQ to issue template
Some checks failed
Release / build (ubuntu-latest) (push) Has been cancelled
Release / build (windows-latest) (push) Has been cancelled
2024-10-27 10:56:32 -03:00
Zamitto
b6fb29ca2d fix: french translation
Some checks are pending
Release / build (ubuntu-latest) (push) Waiting to run
Release / build (windows-latest) (push) Waiting to run
2024-10-26 23:57:10 -03:00
Zamitto
e89f459c78 Merge pull request #1127 from bernardofernandezz/patch-1
Some checks failed
Release / build (ubuntu-latest) (push) Has been cancelled
Release / build (windows-latest) (push) Has been cancelled
fix: not redirecting to readme with correct language
2024-10-25 18:20:16 -03:00
Zamitto
0dac4d5cf3 feat: remove silent auto install 2024-10-25 16:30:44 -03:00
Bernardo Fernandez
93fb26c89b fix: not redirecting to readme with correct language 2024-10-25 08:26:46 -03:00
Zamitto
446d6b75c0 chore: bump version
Some checks are pending
Release / build (ubuntu-latest) (push) Waiting to run
Release / build (windows-latest) (push) Waiting to run
2024-10-24 21:07:38 -03:00
Zamitto
8dd29c7461 feat: disable lottie loop on game page 2024-10-24 20:56:29 -03:00
Zamitto
0ad1a2e3fe fix: shortcut and animation on home
Some checks are pending
Release / build (ubuntu-latest) (push) Waiting to run
Release / build (windows-latest) (push) Waiting to run
2024-10-24 19:32:04 -03:00
Zamitto
3c03d5ce16 Merge pull request #1113 from SoloQTKiller/correcao_traducao
Some checks are pending
Release / build (ubuntu-latest) (push) Waiting to run
Release / build (windows-latest) (push) Waiting to run
Translation Correction
2024-10-23 22:58:47 -03:00
SoloQTKiller
8d8b714c68 Correçao de Tradução 2024-10-23 22:29:26 -03:00
14 changed files with 34 additions and 39 deletions

View File

@@ -1,5 +1,5 @@
name: Bug Report name: Bug Report
description: Create a report to help us improve. Write in English, please. description: Create a report to help us improve. Write in English.
title: "[BUG] Write a title for your bug" title: "[BUG] Write a title for your bug"
labels: ["bug"] labels: ["bug"]
body: body:
@@ -61,3 +61,5 @@ body:
required: true required: true
- label: I am aware that Hydra team does not offer any support or help regarding the downloaded games. - label: I am aware that Hydra team does not offer any support or help regarding the downloaded games.
required: true required: true
- label: I have read the [Frequently Asked Questions (FAQ)](https://github.com/hydralauncher/hydra/wiki/FAQ).
required: true

View File

@@ -13,19 +13,19 @@
[![build](https://img.shields.io/github/actions/workflow/status/hydralauncher/hydra/build.yml)](https://github.com/hydralauncher/hydra/actions) [![build](https://img.shields.io/github/actions/workflow/status/hydralauncher/hydra/build.yml)](https://github.com/hydralauncher/hydra/actions)
[![release](https://img.shields.io/github/package-json/v/hydralauncher/hydra)](https://github.com/hydralauncher/hydra/releases) [![release](https://img.shields.io/github/package-json/v/hydralauncher/hydra)](https://github.com/hydralauncher/hydra/releases)
[![pt-BR](https://img.shields.io/badge/lang-pt--BR-green.svg)](./README.pt-BR.md) [![pt-BR](https://img.shields.io/badge/lang-pt--BR-green.svg)](./docs/README.pt-BR.md)
[![en](https://img.shields.io/badge/lang-en-red.svg)](./README.md) [![en](https://img.shields.io/badge/lang-en-red.svg)](./README.md)
[![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](./README.ru.md) [![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](./docs/README.ru.md)
[![uk-UA](https://img.shields.io/badge/lang-uk--UA-blue)](./README.uk-UA.md) [![uk-UA](https://img.shields.io/badge/lang-uk--UA-blue)](./docs/README.uk-UA.md)
[![be](https://img.shields.io/badge/lang-be-orange)](./README.be.md) [![be](https://img.shields.io/badge/lang-be-orange)](./docs/README.be.md)
[![es](https://img.shields.io/badge/lang-es-red)](./README.es.md) [![es](https://img.shields.io/badge/lang-es-red)](./docs/README.es.md)
[![fr](https://img.shields.io/badge/lang-fr-blue)](./README.fr.md) [![fr](https://img.shields.io/badge/lang-fr-blue)](./docs/README.fr.md)
[![de](https://img.shields.io/badge/lang-de-black)](./README.de.md) [![de](https://img.shields.io/badge/lang-de-black)](./docs/README.de.md)
[![ita](https://img.shields.io/badge/lang-it-red)](./README.it.md) [![ita](https://img.shields.io/badge/lang-it-red)](./docs/README.it.md)
[![cs](https://img.shields.io/badge/lang-cs-purple)](./README.cs.md) [![cs](https://img.shields.io/badge/lang-cs-purple)](./docs/README.cs.md)
[![da](https://img.shields.io/badge/lang-da-red)](./README.da.md) [![da](https://img.shields.io/badge/lang-da-red)](./docs/README.da.md)
[![nb](https://img.shields.io/badge/lang-nb-blue)](./README.nb.md) [![nb](https://img.shields.io/badge/lang-nb-blue)](./docs/README.nb.md)
[![ee](https://img.shields.io/badge/lang-et-blue.svg)](./README.et.md) [![ee](https://img.shields.io/badge/lang-et-blue.svg)](./docs/README.et.md)
![Hydra Catalogue](./docs/screenshot.png) ![Hydra Catalogue](./docs/screenshot.png)

View File

@@ -1,6 +1,6 @@
{ {
"name": "hydralauncher", "name": "hydralauncher",
"version": "3.0.2", "version": "3.0.4",
"description": "Hydra", "description": "Hydra",
"main": "./out/main/index.js", "main": "./out/main/index.js",
"author": "Los Broxas", "author": "Los Broxas",

File diff suppressed because one or more lines are too long

View File

@@ -312,7 +312,7 @@
"sending": "Saatmine", "sending": "Saatmine",
"friend_request_sent": "Sõbrakutse saadetud", "friend_request_sent": "Sõbrakutse saadetud",
"friends": "Sõbrad", "friends": "Sõbrad",
"friends_list": "Sõbrade nimekiri", "friends_list": "Sõprade nimekiri",
"user_not_found": "Kasutajat ei leitud", "user_not_found": "Kasutajat ei leitud",
"block_user": "Blokeeri kasutaja", "block_user": "Blokeeri kasutaja",
"add_friend": "Lisa sõbraks", "add_friend": "Lisa sõbraks",

View File

@@ -57,14 +57,14 @@
"remove_from_library": "Supprimer de la bibliothèque", "remove_from_library": "Supprimer de la bibliothèque",
"no_downloads": "Aucun téléchargement disponible", "no_downloads": "Aucun téléchargement disponible",
"next_suggestion": "Suggestion suivante", "next_suggestion": "Suggestion suivante",
"play_time": "Joué pour {{montant}}", "play_time": "Joué pour {{amount}}",
"install": "Installer", "install": "Installer",
"play": "Jouer", "play": "Jouer",
"not_played_yet": "Vous n'avez pas encore joué à {{title}}", "not_played_yet": "Vous n'avez pas encore joué à {{title}}",
"close": "Fermer", "close": "Fermer",
"deleting": "Suppression du programme d'installation…", "deleting": "Suppression du programme d'installation…",
"playing_now": "Jeu en cours", "playing_now": "Jeu en cours",
"last_time_played": "Dernièrement joué {{période}}" "last_time_played": "Dernièrement joué {{period}}"
}, },
"activation": { "activation": {
"title": "Activer Hydra", "title": "Activer Hydra",

View File

@@ -130,7 +130,7 @@
"achievements": "Conquistas", "achievements": "Conquistas",
"achievements_count": "Conquistas ({{unlockedCount}}/{{achievementsCount}})", "achievements_count": "Conquistas ({{unlockedCount}}/{{achievementsCount}})",
"cloud_save": "Salvamento em nuvem", "cloud_save": "Salvamento em nuvem",
"cloud_save_description": "Matenha seu progresso na nuvem e continue de onde parou em qualquer dispositivo", "cloud_save_description": "Mantenha seu progresso na nuvem e continue de onde parou em qualquer dispositivo",
"backups": "Backups", "backups": "Backups",
"install_backup": "Restaurar", "install_backup": "Restaurar",
"delete_backup": "Apagar", "delete_backup": "Apagar",
@@ -190,7 +190,7 @@
"install": "Instalar", "install": "Instalar",
"download_in_progress": "Baixando agora", "download_in_progress": "Baixando agora",
"queued_downloads": "Na fila", "queued_downloads": "Na fila",
"downloads_completed": "Completo", "downloads_completed": "Concluído",
"queued": "Na fila", "queued": "Na fila",
"no_downloads_title": "Nada por aqui…", "no_downloads_title": "Nada por aqui…",
"no_downloads_description": "Você ainda não baixou nada pelo Hydra, mas nunca é tarde para começar.", "no_downloads_description": "Você ainda não baixou nada pelo Hydra, mas nunca é tarde para começar.",

View File

@@ -7,7 +7,7 @@ const { autoUpdater } = updater;
const restartAndInstallUpdate = async (_event: Electron.IpcMainInvokeEvent) => { const restartAndInstallUpdate = async (_event: Electron.IpcMainInvokeEvent) => {
autoUpdater.removeAllListeners(); autoUpdater.removeAllListeners();
if (app.isPackaged) { if (app.isPackaged) {
autoUpdater.quitAndInstall(true, true); autoUpdater.quitAndInstall(false);
} }
}; };

View File

@@ -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({

View File

@@ -219,7 +219,6 @@ export class AchievementWatcherManager {
const games = await gameRepository.find({ const games = await gameRepository.find({
where: { where: {
isDeleted: false, isDeleted: false,
winePrefixPath: Not(IsNull()),
}, },
}); });

View File

@@ -8,7 +8,6 @@ import { HydraApi } from "../hydra-api";
import { getUnlockedAchievements } from "@main/events/user/get-unlocked-achievements"; import { getUnlockedAchievements } from "@main/events/user/get-unlocked-achievements";
import { Game } from "@main/entity"; import { Game } from "@main/entity";
import { achievementsLogger } from "../logger"; import { achievementsLogger } from "../logger";
import { SubscriptionRequiredError } from "@shared";
const saveAchievementsOnLocal = async ( const saveAchievementsOnLocal = async (
objectId: string, objectId: string,
@@ -119,14 +118,10 @@ export const mergeAchievements = async (
const mergedLocalAchievements = unlockedAchievements.concat(newAchievements); const mergedLocalAchievements = unlockedAchievements.concat(newAchievements);
if (game.remoteId) { if (game.remoteId) {
await HydraApi.put( await HydraApi.put("/profile/games/achievements", {
"/profile/games/achievements", id: game.remoteId,
{ achievements: mergedLocalAchievements,
id: game.remoteId, })
achievements: mergedLocalAchievements,
},
{ needsSubscription: true }
)
.then((response) => { .then((response) => {
return saveAchievementsOnLocal( return saveAchievementsOnLocal(
response.objectId, response.objectId,
@@ -136,9 +131,7 @@ export const mergeAchievements = async (
); );
}) })
.catch((err) => { .catch((err) => {
if (!(err instanceof SubscriptionRequiredError)) { achievementsLogger.error(err);
achievementsLogger.error(err);
}
return saveAchievementsOnLocal( return saveAchievementsOnLocal(
game.objectID, game.objectID,

View File

@@ -167,7 +167,7 @@ export function GameDetailsContent() {
> >
<Lottie <Lottie
animationData={cloudAnimation} animationData={cloudAnimation}
loop loop={false}
autoplay autoplay
style={{ width: 26, position: "absolute", top: -3 }} style={{ width: 26, position: "absolute", top: -3 }}
/> />

View File

@@ -202,7 +202,7 @@ export default function GameDetails() {
top: -28, top: -28,
left: -27, left: -27,
}} }}
loop loop={false}
/> />
</div> </div>
{t("next_suggestion")} {t("next_suggestion")}

View File

@@ -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,