There was an error while loading. Please reload this page.
1 parent 1523f4e commit 45a0a16Copy full SHA for 45a0a16
1 file changed
src-tauri/src/commands/pull_up.rs
@@ -61,7 +61,7 @@ fn candidate_paths(is_dev: bool) -> Vec<PathBuf> {
61
} else {
62
if let Ok(current_exe) = env::current_exe() {
63
if let Some(base) = current_exe.parent() {
64
- candidates.push(base.join(subdir).join(exe_name));
+ candidates.push(base.join("resources").join("bin").join(subdir).join(exe_name));
65
// macOS 打包:App.app/Contents/MacOS/ 下为运行目录
66
// 资源常在 App.app/Contents/Resources/
67
if cfg!(target_os = "macos") {
0 commit comments