mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
Merge 67fe5ccdef
into af2896efc3
This commit is contained in:
commit
08190d0d18
9 changed files with 297 additions and 257 deletions
5
.env
Normal file
5
.env
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
MAIN_VITE_API_URL=https://hydra-api-us-east-1.losbroxas.org
|
||||||
|
MAIN_VITE_AUTH_URL=https://auth.hydralauncher.gg
|
||||||
|
MAIN_VITE_CHECKOUT_URL=https://checkout.hydralauncher.gg
|
||||||
|
MAIN_VITE_EXTERNAL_RESOURCES_URL=https://assets.hydralauncher.gg
|
||||||
|
RENDERER_VITE_EXTERNAL_RESOURCES_URL=https://assets.hydralauncher.gg
|
|
@ -1,2 +0,0 @@
|
||||||
MAIN_VITE_API_URL=API_URL
|
|
||||||
MAIN_VITE_AUTH_URL=AUTH_URL
|
|
1
.github/workflows/main.yml
vendored
Normal file
1
.github/workflows/main.yml
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
32
.github/workflows/manual.yml
vendored
Normal file
32
.github/workflows/manual.yml
vendored
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# This is a basic workflow that is manually triggered
|
||||||
|
|
||||||
|
name: Manual workflow
|
||||||
|
|
||||||
|
# Controls when the action will run. Workflow runs when manually triggered using the UI
|
||||||
|
# or API.
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
# Inputs the workflow accepts.
|
||||||
|
inputs:
|
||||||
|
name:
|
||||||
|
# Friendly description to be shown in the UI instead of 'name'
|
||||||
|
description: 'Person to greet'
|
||||||
|
# Default value if no value is explicitly provided
|
||||||
|
default: 'World'
|
||||||
|
# Input has to be provided for the workflow to run
|
||||||
|
required: true
|
||||||
|
# The data type of the input
|
||||||
|
type: string
|
||||||
|
|
||||||
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
|
jobs:
|
||||||
|
# This workflow contains a single job called "greet"
|
||||||
|
greet:
|
||||||
|
# The type of runner that the job will run on
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
|
steps:
|
||||||
|
# Runs a single command using the runners shell
|
||||||
|
- name: Send greeting
|
||||||
|
run: echo "Hello ${{ inputs.name }}"
|
|
@ -231,6 +231,7 @@
|
||||||
"options": "Manage"
|
"options": "Manage"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
|
"username": "Username",
|
||||||
"downloads_path": "Downloads path",
|
"downloads_path": "Downloads path",
|
||||||
"change": "Update",
|
"change": "Update",
|
||||||
"notifications": "Notifications",
|
"notifications": "Notifications",
|
||||||
|
|
|
@ -225,6 +225,7 @@
|
||||||
"options": "Gestionar"
|
"options": "Gestionar"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
|
"username": "Nombre de usuario",
|
||||||
"downloads_path": "Ruta de descarga",
|
"downloads_path": "Ruta de descarga",
|
||||||
"change": "Cambiar",
|
"change": "Cambiar",
|
||||||
"notifications": "Notificaciones",
|
"notifications": "Notificaciones",
|
||||||
|
|
|
@ -221,6 +221,7 @@
|
||||||
"options": "Gerenciar"
|
"options": "Gerenciar"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
|
"username": "Nome de usuário",
|
||||||
"downloads_path": "Diretório dos downloads",
|
"downloads_path": "Diretório dos downloads",
|
||||||
"change": "Explorar...",
|
"change": "Explorar...",
|
||||||
"notifications": "Notificações",
|
"notifications": "Notificações",
|
||||||
|
|
|
@ -229,6 +229,7 @@
|
||||||
"options": "Управлять"
|
"options": "Управлять"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
|
"username": "Имя пользователя",
|
||||||
"downloads_path": "Путь загрузок",
|
"downloads_path": "Путь загрузок",
|
||||||
"change": "Изменить",
|
"change": "Изменить",
|
||||||
"notifications": "Уведомления",
|
"notifications": "Уведомления",
|
||||||
|
|
|
@ -161,10 +161,10 @@ export function SettingsAccount() {
|
||||||
label={t("profile_visibility")}
|
label={t("profile_visibility")}
|
||||||
value={field.value}
|
value={field.value}
|
||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
options={visibilityOptions.map((visiblity) => ({
|
options={visibilityOptions.map((visibility) => ({
|
||||||
key: visiblity.value,
|
key: visibility.value,
|
||||||
value: visiblity.value,
|
value: visibility.value,
|
||||||
label: visiblity.label,
|
label: visibility.label,
|
||||||
}))}
|
}))}
|
||||||
disabled={isSubmitting}
|
disabled={isSubmitting}
|
||||||
/>
|
/>
|
||||||
|
@ -178,7 +178,8 @@ export function SettingsAccount() {
|
||||||
<section className="settings-account__section">
|
<section className="settings-account__section">
|
||||||
<h4>{t("current_email")}</h4>
|
<h4>{t("current_email")}</h4>
|
||||||
<p>{userDetails?.email ?? t("no_email_account")}</p>
|
<p>{userDetails?.email ?? t("no_email_account")}</p>
|
||||||
|
<h4>{t("username")}:</h4>
|
||||||
|
<p>{userDetails?.username}</p>
|
||||||
<div className="settings-account__actions">
|
<div className="settings-account__actions">
|
||||||
<Button
|
<Button
|
||||||
theme="outline"
|
theme="outline"
|
||||||
|
@ -199,7 +200,6 @@ export function SettingsAccount() {
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section className="settings-account__section">
|
<section className="settings-account__section">
|
||||||
<h3>Hydra Cloud</h3>
|
<h3>Hydra Cloud</h3>
|
||||||
<div className="settings-account__subscription-info">
|
<div className="settings-account__subscription-info">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue