Skip to content

Commit

Permalink
chore: update electron-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chenfan0 committed Nov 2, 2024
1 parent 39e08dc commit eb29f0b
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 8 deletions.
6 changes: 4 additions & 2 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ win:
extraFiles:
- from: "./resources/iconTemplate.png"
to: "Resources"
- from: "./resources/dist"
to: "Resources"
- from: "./resources/frpc/win/${arch}/frpc.exe"
to: "Resources"
extraResources:
- from: "./resources/dist"
to: "dist"

nsis:
oneClick: false
artifactName: ${name}-${version}-${arch}.${ext}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -491,12 +491,13 @@ export default function WebControlSettingSheet(props: StreamConfigSheetProps) {
<ShadcnDialogHeader>
<ShadcnDialogTitle className="mt-[20px] text-center">
<p>{title}</p>
<p className="mt-3">{`¥${money}`}</p>
<p className="mt-3">关注 公众号 “Fideo” 获取3天试用的激活码</p>
</ShadcnDialogTitle>
</ShadcnDialogHeader>
<div className="flex justify-center h-[280px]">
{qrcode && <img className="h-[280px]" src={qrcode}></img>}
</div>
<p className="mt-3 text-center">{`¥${money}`}</p>
</ShadcnDialogContent>
</ShadcnDialog>
</>
Expand Down
28 changes: 23 additions & 5 deletions src/renderer/src/locales/locales.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ export default {
toggle_theme: 'Toggle Theme',
qq: 'Join QQ Group',
discord: 'Join Discord',
go_to_website: 'Go to Website'
go_to_website: 'Go to Website',
web_control: 'Web Control'
},
default_settings: {
title: 'Default Settings',
Expand All @@ -21,18 +22,35 @@ export default {
logs_dir_placeholder: 'Open Logs Directory'
},
web_control_setting: {
title: 'Web Control Setting',
title: 'Web Control Settings',
web_control_path: 'Activation Code',
web_control_path_required: 'Activation Code cannot be empty',
web_control_path_placeholder: 'Can be obtained by clicking the get button',
web_control_path_placeholder: 'Can be obtained by clicking the Get button',
get_web_control_path: 'Get',
email: 'Email',
email_placeholder: 'Please enter the email (for receiving activation code)',
email_placeholder: 'Please enter the email (for receiving the activation code)',
email_required: 'Email cannot be empty',
email_invalid: 'Email is invalid',
enable_web_control: 'Enable Web Control',
enable_web_control_tooltip: 'Enable to control recording via mobile phone',
get_web_control_path_success: 'Get activation code successfully',
get_web_control_path_success_desc:
'The activation code has been sent to the email, please check it',
get_web_control_path_failed: 'Failed to get activation code',
get_web_control_path_failed_desc: 'Please try again later',
start_web_control_success: 'Web control is enabled',
start_web_control_success_desc:
'You can use a browser to access the corresponding address to operate',
start_web_control_failed: 'Failed to enable web control',
start_web_control_failed_desc: 'Please try again later',
frpc_process_error: 'frpc process error',
stop_web_control_success: 'Web control is disabled',
stop_web_control_success_desc: 'You can click the Enable button again to enable it',
stop_web_control_failed: 'Failed to enable web control',
web_control_address: 'Web Control Address',
confirm_force_close_window_with_web_control:
'Web control is running, do you want to force close the window?'
'Web control is running, do you want to force close the window?',
will_retry: 'Will retry in {{time}} seconds'
},
stream_config: {
confirm: 'Confirm',
Expand Down

0 comments on commit eb29f0b

Please sign in to comment.