-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: [DNM] tauri v2 upgrade #1100
Conversation
f23f3e3
to
d69c8df
Compare
My bad, sorry hahah |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
- wip: update dir resolvers - wip: move Systray logic to FE - wip: updated beta build workflows - wip: emit miner metrics - ci: updated workflows - merge: reolve conflicts
83c2a0a
to
4c71ee8
Compare
&self, | ||
config_dir: PathBuf, | ||
) -> Result<GpuStatusFileContent, Error> { | ||
let file: PathBuf = config_dir.join("gpuminer").join("gpu_status.json"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hold on aren't cache_dir
and config_dir
different according to docs ?
|
||
const UPDATE_CHECK_INTERVAL = 1000 * 60 * 60; // 1 hour | ||
|
||
export const useHandleUpdate = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please verify that download progress works well. I had issue with tauri js API where it would get stuck from massive amounts of incoming Progress
events. In the end rust API worked much better with high amount of events.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we did check this with a draft auto update release a long while back and it seemed alright, i didn't get stuck :D but that hasn't been tested recently
src-tauri/src/commands.rs
Outdated
} | ||
Err(e) => { | ||
error!(target: LOG_TARGET, "Error loading internal wallet: {:?}", e); | ||
Err(e) | ||
Err::<(), std::string::String>(e.to_string()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
did this not work?
Err::<(), std::string::String>(e.to_string()) | |
Err(e.to_string()) |
Description --- - set up `tauri-plugin-process` correctly for relaunch after install - adjusted the check for updates - adjusted the update handler Motivation and Context --- autoupdate didn't work properly in V2 branch How Has This Been Tested? --- locally. painstakingly.
## Fixes part of #1168 and potentialy fixes #1175 ### [ Content ] - Handle extra case for wallet creation when no data is present on machine - Fixed prolonged shutdowns sequences at the end of setup - Removed unnecessary thread spawn - Fixed `gpu_detection` and `gpu_status` generation ------------ ### [ Testing ] - Try copy or show seed words | play around with deleting wallet_config.json - For closing sequence => Close app around 85% or around time when we enter main app view
65dff44
to
f5a0827
Compare
Description
tauri
to V2 see their migration guide for more info:commands.rs
) to decluttermain.rs
Motivation and Context
How Has This Been Tested?
What process can a PR reviewer use to test or verify this change?
Breaking Changes