Commit 7db2520
committed
fix(updater): detect installed AppImage path on Linux
isUpgradableLocation() was comparing the FUSE-mounted Electron binary
path (process.execPath, e.g. /tmp/.mount_*/phoenix-code) against
~/.phoenix-code/, which never matched. Switch to the new
electronAPI.getInstalledAppPath() which returns process.env.APPIMAGE on
packaged AppImage runs (and null elsewhere), so the upgradable-location
check actually passes for installed builds. Also ensure homeDir has a
trailing slash, matching the Tauri-side check.
Also sync src-node/package-lock.json to 5.1.17.1 parent 8b244f0 commit 7db2520
2 files changed
Lines changed: 10 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
160 | | - | |
161 | | - | |
| 161 | + | |
| 162 | + | |
162 | 163 | | |
163 | 164 | | |
164 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
165 | 169 | | |
166 | | - | |
167 | | - | |
| 170 | + | |
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
| |||
0 commit comments