[Bug] Updater macOS version reported exception (initial crash)
Hi guys,
The updater crashed for me on an initial update, however, a 2nd run completed with a reported exception.
I'm not sure where to grab FG component version numbers from.
I'm running macOS 10.15.1
Here is the exception report:
Code:
e: SaveFile - System.UnauthorizedAccessException: Access to the path '/Applications/SmiteWorks/Fantasy Grounds/FantasyGrounds.app/Contents/Resources/MainMenu.nib' is denied.
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x000e0] in <567df3e0919241ba98db88bec4c6696f>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
at System.IO.File.Create (System.String path, System.Int32 bufferSize) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at System.IO.File.Create (System.String path) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at FileManager.SaveStreamToFile (System.IO.Stream str, System.String sFile, Ionic.Zip.ZipFile zf, System.Collections.Generic.List`1[T] fileStreams, System.String sProduct) [0x00037] in <b8955991e4b346dab1c9d80d88c651ee>:0
HandleFile: Unable to save file (FantasyGrounds.app/Contents/Resources/MainMenu.nib)
e: SaveFile - System.UnauthorizedAccessException: Access to the path '/Applications/SmiteWorks/Fantasy Grounds/FantasyGrounds.app/Contents/Resources/ScreenSelector.nib' is denied.
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x000e0] in <567df3e0919241ba98db88bec4c6696f>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
at System.IO.File.Create (System.String path, System.Int32 bufferSize) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at System.IO.File.Create (System.String path) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at FileManager.SaveStreamToFile (System.IO.Stream str, System.String sFile, Ionic.Zip.ZipFile zf, System.Collections.Generic.List`1[T] fileStreams, System.String sProduct) [0x00037] in <b8955991e4b346dab1c9d80d88c651ee>:0
HandleFile: Unable to save file (FantasyGrounds.app/Contents/Resources/ScreenSelector.nib)
e: SaveFile - System.UnauthorizedAccessException: Access to the path '/Applications/SmiteWorks/Fantasy Grounds/FantasyGrounds.app/Contents/Resources/KeyConfig.nib' is denied.
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x000e0] in <567df3e0919241ba98db88bec4c6696f>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
at System.IO.File.Create (System.String path, System.Int32 bufferSize) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at System.IO.File.Create (System.String path) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at FileManager.SaveStreamToFile (System.IO.Stream str, System.String sFile, Ionic.Zip.ZipFile zf, System.Collections.Generic.List`1[T] fileStreams, System.String sProduct) [0x00037] in <b8955991e4b346dab1c9d80d88c651ee>:0
HandleFile: Unable to save file (FantasyGrounds.app/Contents/Resources/KeyConfig.nib)
UnzipProduct-FantasyGrounds: 5,337724
FantasyGrounds Update Complete
i: /Users/chris/SmiteWorks/Fantasy Grounds/vault/FantasyGrounds.dat
Found FantasyGrounds, modifying app permissions.
chmod -R 700 "/Applications/SmiteWorks/Fantasy Grounds/FantasyGrounds.app"