Description
Hi,
My app (app-sandbox=false) is packaged as a signed and notarized pkg file, for which I had to add a Components.plist with BundleIsRelocatable = false to force it to install under /Applications.
Without this key, I was not able to have the package installed under /Applications
Now that I'm trying to add updater feature, I'm facing - I think - the very same issue since, in my app logs, I see the update package to be unpack in a temporary directory similar to the installation package when I did not have the key described above
[2025-02-23 10:08:39][src/main.rs:130][INFO][MyOfflineModel] Failed to install update: failed to unpack ._MyOfflineModel.app into /var/folders/7d/l0mgzpm50jn5_1n3x9ywyrhh0000gn/T/tauri_updated_appauuG7Z/
I searched how to add this BundleIsRelocatable key to the tar.gz content as well, but there is only the Info.plist for which it's not accepted.
AFAIK it's not tauri-apps/tauri#8104 since I'm using latest plugin-updater commit which provides #2067 (confirmed by inspecting tauri-plugin-updater-2.5.0/src/*.rs I do see all the changes of this PR which provide osakit for admin privileges).
I'm not seeing any request for password, it seems to fail before.
Any help much appreciated.
tauri info output
[✔] Environment
- OS: Mac OS 15.3.1 arm64 (X64)
✔ Xcode Command Line Tools: installed
✔ rustc: 1.84.1 (e71f9a9a9 2025-01-27)
✔ cargo: 1.84.1 (66221abde 2024-11-19)
✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
✔ Rust toolchain: stable-aarch64-apple-darwin (default)
- node: 23.7.0
- pnpm: 10.4.1
- yarn: 1.22.22
- npm: 11.1.0
- bun: 1.2.3[-] Packages
- tauri 🦀: 2.2.5
- tauri-build 🦀: 2.0.5
- wry 🦀: 0.48.0
- tao 🦀: 0.31.0
- @tauri-apps/api : 2.2.0
- @tauri-apps/cli : 2.2.7[-] Plugins
- tauri-plugin-dialog 🦀: git+https://github.com/tauri-apps/plugins-workspace?branch=v2#f6838d507f14981b6b7e0e745408360122c12bd6 (2.2.0)
- @tauri-apps/plugin-dialog : not installed!
- tauri-plugin-notification 🦀: git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6b4c3917389f4bc489d03b48a837557ac0584175 (2.2.1)
- @tauri-apps/plugin-notification : not installed!
- tauri-plugin-shell 🦀: git+https://github.com/tauri-apps/plugins-workspace?branch=v2#f6838d507f14981b6b7e0e745408360122c12bd6 (2.2.0)
- @tauri-apps/plugin-shell : not installed!
- tauri-plugin-autostart 🦀: git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6b4c3917389f4bc489d03b48a837557ac0584175 (2.2.0)
- @tauri-apps/plugin-autostart : 2.2.0
- tauri-plugin-log 🦀: 2.2.1
- @tauri-apps/plugin-log : 2.2.1
- tauri-plugin-single-instance 🦀: git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6b4c3917389f4bc489d03b48a837557ac0584175 (2.2.1)
- @tauri-apps/plugin-single-instance : not installed!
- tauri-plugin-updater 🦀: git+https://github.com/tauri-apps/plugins-workspace?branch=v2#f6838d507f14981b6b7e0e745408360122c12bd6 (2.5.0)
- @tauri-apps/plugin-updater : not installed!
- tauri-plugin-process 🦀: git+https://github.com/tauri-apps/plugins-workspace?branch=v2#f6838d507f14981b6b7e0e745408360122c12bd6 (2.2.0)
- @tauri-apps/plugin-process : not installed!
- tauri-plugin-clipboard-manager 🦀: git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6b4c3917389f4bc489d03b48a837557ac0584175 (2.2.1)
- @tauri-apps/plugin-clipboard-manager : not installed!
- tauri-plugin-store 🦀: 2.2.0
- @tauri-apps/plugin-store : 2.2.0
- tauri-plugin-global-shortcut 🦀: git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6b4c3917389f4bc489d03b48a837557ac0584175 (2.2.0)
- @tauri-apps/plugin-global-shortcut : not installed!
- tauri-plugin-fs 🦀: git+https://github.com/tauri-apps/plugins-workspace?branch=v2#f6838d507f14981b6b7e0e745408360122c12bd6 (2.2.0)
- @tauri-apps/plugin-fs : not installed![-] App
- build-type: bundle
- CSP: default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'; connect-src ipc: http://ipc.localhost http://localhost:11434
- frontendDist: ../dist
- devUrl: http://localhost:1420/
- framework: React
- bundler: Vite
Thanks