chore(gui): drop unused tg/boosty/patreon entries from appInfo store
This commit is contained in:
parent
7f167b563b
commit
5cbd5515d3
1 changed files with 1 additions and 10 deletions
|
|
@ -40,11 +40,8 @@ export const assistantVoice = writable("")
|
|||
|
||||
// ### APP INFO
|
||||
export const appInfo = writable({
|
||||
tgOfficialLink: "",
|
||||
feedbackLink: "",
|
||||
repositoryLink: "",
|
||||
boostySupportLink: "",
|
||||
patreonSupportLink: "",
|
||||
logFilePath: ""
|
||||
})
|
||||
|
||||
|
|
@ -60,21 +57,15 @@ export async function loadVoiceSetting() {
|
|||
|
||||
export async function loadAppInfo() {
|
||||
try {
|
||||
const [tg, feedback, repo, boosty, patreon, logPath] = await Promise.all([
|
||||
invoke<string>("get_tg_official_link"),
|
||||
const [feedback, repo, logPath] = await Promise.all([
|
||||
invoke<string>("get_feedback_link"),
|
||||
invoke<string>("get_repository_link"),
|
||||
invoke<string>("get_boosty_link"),
|
||||
invoke<string>("get_patreon_link"),
|
||||
invoke<string>("get_log_file_path")
|
||||
])
|
||||
|
||||
appInfo.set({
|
||||
tgOfficialLink: tg,
|
||||
feedbackLink: feedback,
|
||||
repositoryLink: repo,
|
||||
boostySupportLink: boosty,
|
||||
patreonSupportLink: patreon,
|
||||
logFilePath: logPath
|
||||
})
|
||||
} catch (err) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue