File tree Expand file tree Collapse file tree 10 files changed +16
-7
lines changed
renderer/src/pages/shared-modals/user-friend-modal Expand file tree Collapse file tree 10 files changed +16
-7
lines changed Original file line number Diff line number Diff line change 1
- MAIN_VITE_STEAMGRIDDB_API_KEY = YOUR_API_KEY
2
1
MAIN_VITE_API_URL = API_URL
2
+ MAIN_VITE_AUTH_URL = AUTH_URL
3
+ MAIN_VITE_STEAMGRIDDB_API_KEY = YOUR_API_KEY
3
4
MAIN_VITE_SENTRY_DSN = YOUR_SENTRY_DSN
4
5
SENTRY_AUTH_TOKEN =
Original file line number Diff line number Diff line change 41
41
yarn build:linux
42
42
env :
43
43
MAIN_VITE_API_URL : ${{ vars.MAIN_VITE_API_URL }}
44
+ MAIN_VITE_AUTH_URL : ${{ vars.MAIN_VITE_AUTH_URL }}
44
45
SENTRY_AUTH_TOKEN : ${{ secrets.SENTRY_AUTH_TOKEN }}
45
46
MAIN_VITE_SENTRY_DSN : ${{ vars.MAIN_VITE_SENTRY_DSN }}
46
47
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50
51
run : yarn build:win
51
52
env :
52
53
MAIN_VITE_API_URL : ${{ vars.MAIN_VITE_API_URL }}
54
+ MAIN_VITE_AUTH_URL : ${{ vars.MAIN_VITE_AUTH_URL }}
53
55
SENTRY_AUTH_TOKEN : ${{ secrets.SENTRY_AUTH_TOKEN }}
54
56
MAIN_VITE_SENTRY_DSN : ${{ vars.MAIN_VITE_SENTRY_DSN }}
55
57
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 43
43
yarn build:linux
44
44
env :
45
45
MAIN_VITE_API_URL : ${{ vars.MAIN_VITE_API_URL }}
46
+ MAIN_VITE_AUTH_URL : ${{ vars.MAIN_VITE_AUTH_URL }}
46
47
SENTRY_AUTH_TOKEN : ${{ secrets.SENTRY_AUTH_TOKEN }}
47
48
MAIN_VITE_SENTRY_DSN : ${{ vars.MAIN_VITE_SENTRY_DSN }}
48
49
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52
53
run : yarn build:win
53
54
env :
54
55
MAIN_VITE_API_URL : ${{ vars.MAIN_VITE_API_URL }}
56
+ MAIN_VITE_AUTH_URL : ${{ vars.MAIN_VITE_AUTH_URL }}
55
57
SENTRY_AUTH_TOKEN : ${{ secrets.SENTRY_AUTH_TOKEN }}
56
58
MAIN_VITE_SENTRY_DSN : ${{ vars.MAIN_VITE_SENTRY_DSN }}
57
59
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " hydralauncher" ,
3
- "version" : " 2.1.6 " ,
3
+ "version" : " 2.1.7 " ,
4
4
"description" : " Hydra" ,
5
5
"main" : " ./out/main/index.js" ,
6
6
"author" : " Los Broxas" ,
Original file line number Diff line number Diff line change 311
311
"report_reason_violence" : " Violence" ,
312
312
"report_reason_spam" : " Spam" ,
313
313
"report_reason_other" : " Other" ,
314
- "profile_reported" : " Profile reported"
314
+ "profile_reported" : " Profile reported" ,
315
+ "your_friend_code" : " Your friend code:"
315
316
}
316
317
}
Original file line number Diff line number Diff line change 315
315
"report_reason_violence" : " Violência" ,
316
316
"report_reason_spam" : " Spam" ,
317
317
"report_reason_other" : " Outro" ,
318
- "profile_reported" : " Perfil reportado"
318
+ "profile_reported" : " Perfil reportado" ,
319
+ "your_friend_code" : " Seu código de amigo:"
319
320
}
320
321
}
Original file line number Diff line number Diff line change 275
275
"no_pending_invites" : " Não tens convites de amizade pendentes" ,
276
276
"no_blocked_users" : " Não tens nenhum utilizador bloqueado" ,
277
277
"friend_code_copied" : " Código de amigo copiado" ,
278
- "image_process_failure" : " Falha ao processar a imagem"
278
+ "image_process_failure" : " Falha ao processar a imagem" ,
279
+ "your_friend_code" : " Seu código de amigo:"
279
280
}
280
281
}
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ export class WindowManager {
106
106
} ) ;
107
107
108
108
authWindow . loadURL (
109
- `https://auth.hydralauncher.gg /?${ searchParams . toString ( ) } `
109
+ `${ import . meta . env . MAIN_VITE_AUTH_URL } /?${ searchParams . toString ( ) } `
110
110
) ;
111
111
112
112
authWindow . once ( "ready-to-show" , ( ) => {
Original file line number Diff line number Diff line change 3
3
interface ImportMetaEnv {
4
4
readonly MAIN_VITE_STEAMGRIDDB_API_KEY : string ;
5
5
readonly MAIN_VITE_API_URL : string ;
6
+ readonly MAIN_VITE_AUTH_URL : string ;
6
7
readonly MAIN_VITE_SENTRY_DSN : string ;
7
8
}
8
9
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ export const UserFriendModal = ({
81
81
alignItems : "center" ,
82
82
} }
83
83
>
84
- < p > Seu código de amigo: </ p >
84
+ < p > { t ( "your_friend_code" ) } </ p >
85
85
< button
86
86
className = { styles . friendCodeButton }
87
87
onClick = { copyToClipboard }
You can’t perform that action at this time.
0 commit comments