Skip to content

Commit

Permalink
Examples: add vscode_system profile to ide-debian-sandbox.cfg.lua exa…
Browse files Browse the repository at this point in the history
…mple
  • Loading branch information
DarkCaster committed Jan 8, 2025
1 parent 754db4c commit eca96a3
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions Examples/ide-debian-sandbox.cfg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,39 @@ vscode={
},
}

vscode_system={
exec="/usr/share/code/code",
path="/home/sandboxer",
args=loader.args,
term_signal=defaults.signals.SIGTERM,
term_orphans=true,
attach=false,
pty=false,
env_set={{"GOROOT","/home/sandboxer/go_dist"}},
desktop={
name = "Visual Studio Code",
comment = "VSCode (IDE sandbox)",
icon = loader.path.combine(tunables.chrootdir,"/usr/share/pixmaps/vscode.png"),
field_code="%f",
terminal = false,
startupnotify = false,
categories="Development;IDE;",
mimetype = "text/x-vscode-workspace-sandbox",
mime =
{
vscode_workspace='<?xml version="1.0" encoding="UTF-8"?>\
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">\
<mime-type type="text/x-vscode-workspace-sandbox">\
<comment>VSCode Workspace</comment>\
<icon name="text-x-source"/>\
<glob-deleteall/>\
<glob pattern="*.code-workspace"/>\
</mime-type>\
</mime-info>'
},
},
}

openscad={
exec="/home/sandboxer/OpenSCAD/AppRun",
path="/home/sandboxer/OpenSCAD",
Expand Down

0 comments on commit eca96a3

Please sign in to comment.