PhaserEditor2D / PhaserEditor

A friendly IDE to develop HTML5 games based on the Phaser framework.
https://phasereditor2d.com
Eclipse Public License 1.0
330 stars 45 forks source link

Automatic updates MacOS v2.0.1 #114

Closed RANUX closed 5 years ago

RANUX commented 5 years ago

Version

Description

Hi! I've got Insufficient access privileges to apply this update. message and i couldn't continue install update :( On which folders i should change privileges mode? Thanks!

screenshot 2019-03-04 at 01 18 23
PhaserEditor2D commented 5 years ago

Hi,

Please, try by moving the Phaser Editor installation folder to a common user folder, like the Desktop or Documents. Then try again.

Googling for Eclipse users with the same problem I found this answer (you replace Eclipse.app for PhaserEditor2D.app):

Hit same problem on Macos sierra 10.12.3 after clean install of Eclipse JEE Neon R. A clue was that my mac showed a dialog when I launched the app that asked:

“Eclipse.app” is an application downloaded from the Internet. Are you sure you want to open it?
When the updater dialog box showed "Insufficient access privileges to apply this update" I checked the Eclipse.app directory (I had downloaded & unpacked the .tar.gz file, if that matters) and saw this:

 drwxrwxr-x@  3 chris  staff         102 Jun 13  2016 Eclipse.app
I examined the extended attribute and saw this:

$ xattr Eclipse.app
com.apple.quarantine
That quarantine attribute seems to block the Eclipse updater! I removed that extended attribute like this:

xattr -d -r Eclipse.app

After that Eclipse updated itself very happily. HTH
RANUX commented 5 years ago

Command:

sudo xattr -r -d com.apple.quarantine PhaserEditor2D.app

resolved issue. Thanks!

PhaserEditor2D commented 5 years ago

Great.