I don’t think mac has $XDG_CONFIG_HOME, but I did try deleting ~\Library\Application Support\obsidian after installing Obsidian, and nothing. May I ask where $XDG_CONFIG_HOME is located on mac?
I am not familiar with all the paths used on MacOS. Other than cleaning up the old installation and maybe deleting the .obsidian folder in your vault, I am not sure what else to suggest you. We haven’t had other reports about this.
Terminal doesn’t seem to be indicating what’s wrong
2021-11-11 14:37:41 Loading main app package /Applications/Obsidian.app/Contents/Resources/obsidian.asar
2021-11-11 14:37:41 Checking for update using Github
2021-11-11 14:37:42 Success.
2021-11-11 14:37:42 Latest version is 0.12.19
2021-11-11 14:37:42 App is up to date.
Update: I just closed Obsidian and Terminal outputted more info.
(node:2155) UnhandledPromiseRejectionWarning: TypeError: Object has been destroyed
at loaded (/Applications/Obsidian.app/Contents/Resources/obsidian.asar/main.js:526:26)
(Use `Obsidian --trace-warnings ...` to show where the warning was created)
(node:2155) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:2155) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Not sure either. I’m on 0.13.0 but I don’t get that warning upon quitting. I’m basically out of ideas (sorry). Try creating a new test user account on your system and running it from there…