mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
improve sandboxing status message, update README, remove dead code from a previous change to build_sandbox.sh (#346)
This commit is contained in:
@@ -46,13 +46,15 @@ export const Footer: React.FC<FooterProps> = ({
|
||||
display="flex"
|
||||
>
|
||||
{process.env.SANDBOX && process.env.SANDBOX !== 'sandbox-exec' ? (
|
||||
<Text color="green"> {process.env.SANDBOX} </Text>
|
||||
<Text color="green">
|
||||
{process.env.SANDBOX.replace(/^gemini-(?:code-)?/, '')}
|
||||
</Text>
|
||||
) : process.env.SANDBOX === 'sandbox-exec' ? (
|
||||
<Text color={Colors.AccentYellow}>
|
||||
using macos seatbelt ({process.env.SEATBELT_PROFILE})
|
||||
sandbox-exec ({process.env.SEATBELT_PROFILE})
|
||||
</Text>
|
||||
) : (
|
||||
<Text color={Colors.AccentRed}> WARNING: OUTSIDE SANDBOX </Text>
|
||||
<Text color={Colors.AccentRed}>no sandbox (see README)</Text>
|
||||
)}
|
||||
</Box>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user