Commit 7517087
committed
Add quarantine attribute removal to prevent security dialog
🔓 Security Dialog Prevention:
- Added xattr -dr com.apple.quarantine command to updater
- Removes quarantine attribute after copying app to /Applications
- Prevents 'Apple could not verify A6Cutter.app is free of malware' dialog
- Added xattr to runCommand function with full path /usr/bin/xattr
📱 Updater Improvements:
- Quarantine removal happens after app copy but before unmount
- Clear logging: '🔓 Odstraňuji quarantine atribut...' and '✅ Quarantine atribut odstraněn'
- Ensures smooth user experience without security warnings
This prevents the macOS security dialog that appears when running downloaded applications, making the update process seamless for users.1 parent 8e348e2 commit 7517087
2 files changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
393 | 398 | | |
394 | 399 | | |
395 | 400 | | |
| |||
447 | 452 | | |
448 | 453 | | |
449 | 454 | | |
| 455 | + | |
| 456 | + | |
450 | 457 | | |
451 | 458 | | |
452 | 459 | | |
| |||
0 commit comments