This isnt really a bug, I think its more about the fact I have so much development gear installed on my Debian 10 (esp vscode extensions) I think there might be something not quite right.
I'll just explain what Im seeing first. When I run install.sh it seems to go ok.
When I run ./aoz-studio.sh I get:
[31501:0623/215102.220105:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/dlannan/dev/apps/AOZ-Studio/aoz/IDE/VSCode-linux-x64/chrome-sandbox is owned by root and has mode 4755.
./aoz-studio.sh: line 3: 31501 Trace/breakpoint trap ./code ../../..
I add --no-sandbox to the command (obviously you are running cef or vscode) and it returns
Error: EACCESS: permission denied, mkdir
So, of course, I run it as sudo. And it starts. However, things are not right :)
I can compile a builtin game or demo, but it doesnt run - the notifications say that it tried to launch, but I dont see it anywhere. When I create an application, it looks like the folder is created, but everything has root permissions (due to running in sudo I assume) and I think this is why there are execution issues.
What is the recommended way forward? I tried running in su, but it complains about running as root. Will giving chrome-sandbox root access help solve this?
Any help would be appreciated - I have a _tonne_ of old Amiga AMOS programs I wrote that Id love to try out again :)
Will try it out in Windows (in VMPlayer) if I cant get Linux going.
I managed to get AOZ-studio running in qemu. Works fine.
It looks like AOZ on Windows is using Atom and looks completely different too.
I forgot to mention I was using the last Linux build in the archive folder. So, maybe this is all redundant information anyway.
Some notes:
I assume Atom is in use now because of vscode nasty license setup and it has telemetry and tracking built into it. This is why a number of forks have appeared with MIT licensed binaries:
https://vscodium.com/
If you want to be a little more careful when using vscode, try vscodium out. It has kept up to date very well so far.
Hope this helps. Now to figure out how to get all my AMOS code into this :)