Skip to content

Conversation

acolombier
Copy link

Adding support for Codium installed via Flatpak without full flesystem access

export const isWindows = process.platform === 'win32';
export const isMacintosh = process.platform === 'darwin';
export const isLinux = process.platform === 'linux';
export const isFlatpak = !!process.env['FLATPAK_ID'];
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be other envvar that could be used, let me know if you would like me to consolidate that

}

if (isFlatpak) {
proxyArgs = ["--", "flatpak-spawn", "--host", "--env=TERM=xterm-256", proxyCommand, ...proxyArgs];
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me know if you would lime to use the TERM envvar defined locally if existing instead of forcing this xterm setup

@acolombier acolombier force-pushed the feat/support-flatpak branch from 5747552 to 1cffaaa Compare April 8, 2025 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant