Files
AstralRinth/packages/app-lib/.sqlx/query-7dc83d7ffa3d583fc5ffaf13811a8dab4d0b9ded6200f827b9de7ac32e5318d5.json
Josiah Glosson a538b99c18 Reworked app update flow (#3960)
* Make theseus capable of logging messages from the `log` crate

* Move update checking entirely into JS and open a modal if an update is available

* Fix formatjs on Windows and run formatjs

* Add in the buttons and body

* Fix lint

* Show update size in modal

* Fix update not being rechecked if the update modal was directly dismissed

* Slight UI tweaks

* Fix lint

* Implement skipping the update

* Implement the Update Now button

* Implement updating at next exit

* Turn download progress into an error bar on failure

* Restore 5 minute update check instead of 30 seconds

* Fix PendingUpdateData being seen as a unit struct

* Fix lint

* Make CI also lint updater code

* feat: create AppearingProgressBar component

* feat: polish update available modal

* feat: add error handling

* Open changelog with tauri-plugin-opener

* Run intl:extract

* Update completion toasts (#3978)

* Use single LAUNCHER_USER_AGENT constant for all user agents

* Fix build on Mac

* Request the update size with HEAD instead of GET

* UI tweaks

* lint

* Fix lint

* fix: hide modal header & add "Hide update reminder" button w/ tooltip

* Run intl:extract

* fix: lint issues

* fix: merge issues

* notifications.js no longer exists

* Add metered network checking

* Add a timeout to macOS is_network_metered

* Fix tauri.conf.json

* vibe debugging

* Set a dispatch queue

* Have a popup that asks you if you'd like to disable automatic file downloads if you're on a metered network

* Move UpdateModal to modal package

* Fix lint

* Add a toggle for automatic downloads

* Fix type

Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com>
Signed-off-by: Josiah Glosson <soujournme@gmail.com>

* Redo updating UI and experience

* lint

* fix unlistener issue

* remove unneeded translation keys

* Fix expose issue

* temp disable cranelift, tweak some messages

* change version back

* Clean up App.vue

* move toast to top right

* update reload icon

* Fixed the bug!!!!!!!!!!!!

* improve messages

* intl:extract

* Add liquid glass icon file

* not you!

* use dependency injection

* lint on apple icon

* Fix imports, move download size to button

* change update check back to 5 mins

* lint + move to providers

* intl:extract

---------

Signed-off-by: Cal H. <hendersoncal117@gmail.com>
Signed-off-by: Josiah Glosson <soujournme@gmail.com>
Co-authored-by: Calum <calum@modrinth.com>
Co-authored-by: Prospector <prospectordev@gmail.com>
Co-authored-by: Cal H. <hendersoncal117@gmail.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com>
2025-09-29 15:28:31 +00:00

201 lines
4.6 KiB
JSON

{
"db_name": "SQLite",
"query": "\n SELECT\n max_concurrent_writes, max_concurrent_downloads,\n theme, default_page, collapsed_navigation, hide_nametag_skins_page, advanced_rendering, native_decorations,\n discord_rpc, developer_mode, telemetry, personalized_ads,\n onboarded,\n json(extra_launch_args) extra_launch_args, json(custom_env_vars) custom_env_vars,\n mc_memory_max, mc_force_fullscreen, mc_game_resolution_x, mc_game_resolution_y, hide_on_process_start,\n hook_pre_launch, hook_wrapper, hook_post_exit,\n custom_dir, prev_custom_dir, migrated, json(feature_flags) feature_flags, toggle_sidebar,\n skipped_update, pending_update_toast_for_version, auto_download_updates\n FROM settings\n ",
"describe": {
"columns": [
{
"name": "max_concurrent_writes",
"ordinal": 0,
"type_info": "Integer"
},
{
"name": "max_concurrent_downloads",
"ordinal": 1,
"type_info": "Integer"
},
{
"name": "theme",
"ordinal": 2,
"type_info": "Text"
},
{
"name": "default_page",
"ordinal": 3,
"type_info": "Text"
},
{
"name": "collapsed_navigation",
"ordinal": 4,
"type_info": "Integer"
},
{
"name": "hide_nametag_skins_page",
"ordinal": 5,
"type_info": "Integer"
},
{
"name": "advanced_rendering",
"ordinal": 6,
"type_info": "Integer"
},
{
"name": "native_decorations",
"ordinal": 7,
"type_info": "Integer"
},
{
"name": "discord_rpc",
"ordinal": 8,
"type_info": "Integer"
},
{
"name": "developer_mode",
"ordinal": 9,
"type_info": "Integer"
},
{
"name": "telemetry",
"ordinal": 10,
"type_info": "Integer"
},
{
"name": "personalized_ads",
"ordinal": 11,
"type_info": "Integer"
},
{
"name": "onboarded",
"ordinal": 12,
"type_info": "Integer"
},
{
"name": "extra_launch_args",
"ordinal": 13,
"type_info": "Text"
},
{
"name": "custom_env_vars",
"ordinal": 14,
"type_info": "Text"
},
{
"name": "mc_memory_max",
"ordinal": 15,
"type_info": "Integer"
},
{
"name": "mc_force_fullscreen",
"ordinal": 16,
"type_info": "Integer"
},
{
"name": "mc_game_resolution_x",
"ordinal": 17,
"type_info": "Integer"
},
{
"name": "mc_game_resolution_y",
"ordinal": 18,
"type_info": "Integer"
},
{
"name": "hide_on_process_start",
"ordinal": 19,
"type_info": "Integer"
},
{
"name": "hook_pre_launch",
"ordinal": 20,
"type_info": "Text"
},
{
"name": "hook_wrapper",
"ordinal": 21,
"type_info": "Text"
},
{
"name": "hook_post_exit",
"ordinal": 22,
"type_info": "Text"
},
{
"name": "custom_dir",
"ordinal": 23,
"type_info": "Text"
},
{
"name": "prev_custom_dir",
"ordinal": 24,
"type_info": "Text"
},
{
"name": "migrated",
"ordinal": 25,
"type_info": "Integer"
},
{
"name": "feature_flags",
"ordinal": 26,
"type_info": "Text"
},
{
"name": "toggle_sidebar",
"ordinal": 27,
"type_info": "Integer"
},
{
"name": "skipped_update",
"ordinal": 28,
"type_info": "Text"
},
{
"name": "pending_update_toast_for_version",
"ordinal": 29,
"type_info": "Text"
},
{
"name": "auto_download_updates",
"ordinal": 30,
"type_info": "Integer"
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
null,
null,
false,
false,
false,
false,
false,
true,
true,
true,
true,
true,
false,
null,
false,
true,
true,
true
]
},
"hash": "7dc83d7ffa3d583fc5ffaf13811a8dab4d0b9ded6200f827b9de7ac32e5318d5"
}