flying blind a bit but here we go

This commit is contained in:
Evan Simkowitz
2024-10-22 11:39:45 -07:00
parent 810c22ef3d
commit 530f8b8d9c
12 changed files with 145 additions and 485 deletions
-70
View File
@@ -1,70 +0,0 @@
#!/bin/bash
set -e
shopt -s nullglob
FIRST_RUN="${XDG_CONFIG_HOME}/flatpak-vscode-first-run"
function msg() {
echo "flatpak-vscode: $*" >&2
}
if [ ! -f ${FIRST_RUN} ]; then
WARNING_FILE="/app/share/vscode/flatpak-warning.txt"
touch ${FIRST_RUN}
fi
PYTHON_SITEDIR=$(python3 <<EOFPYTHON
import os
import site
print(os.path.relpath(site.getusersitepackages(), site.getuserbase()))
EOFPYTHON
)
for tool_dir in /app/tools/*; do
tool_bindir=$tool_dir/bin
if [ -d "$tool_bindir" ]; then
msg "Adding $tool_bindir to PATH"
export PATH=$PATH:$tool_bindir
fi
tool_pythondir=$tool_dir/$PYTHON_SITEDIR
if [ -d "$tool_pythondir" ]; then
msg "Adding $tool_pythondir to PYTHONPATH"
if [ -z "$PYTHONPATH" ]; then
export PYTHONPATH=$tool_pythondir
else
export PYTHONPATH=$PYTHONPATH:$tool_pythondir
fi
fi
done
if [ "$FLATPAK_ENABLE_SDK_EXT" = "*" ]; then
SDK=()
for d in /usr/lib/sdk/*; do
SDK+=("${d##*/}")
done
else
IFS=',' read -ra SDK <<< "$FLATPAK_ENABLE_SDK_EXT"
fi
for i in "${SDK[@]}"; do
if [[ -d /usr/lib/sdk/$i ]]; then
msg "Enabling SDK extension \"$i\""
if [[ -f /usr/lib/sdk/$i/enable.sh ]]; then
. /usr/lib/sdk/$i/enable.sh
else
export PATH=$PATH:/usr/lib/sdk/$i/bin
fi
else
msg "Requested SDK extension \"$i\" is not installed"
fi
done
if [ ! -e /etc/shells ] && [ -e /var/run/host/etc/shells ]; then
ln -s /var/run/host/etc/shells /etc/shells
fi
exec env ELECTRON_RUN_AS_NODE=1 PATH="${PATH}:${XDG_DATA_HOME}/node_modules/bin" \
/app/bin/zypak-wrapper.sh /app/extra/vscode/code /app/extra/vscode/resources/app/out/cli.js \
--ms-enable-electron-run-as-node --extensions-dir=${XDG_DATA_HOME}/vscode/extensions \
"$@" ${WARNING_FILE}
-12
View File
@@ -1,12 +0,0 @@
[Desktop Entry]
Name=Visual Studio Code - URL Handler
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=code --open-url %U
Icon=com.visualstudio.code
Type=Application
NoDisplay=true
StartupNotify=true
Categories=Utility;TextEditor;Development;IDE;
MimeType=x-scheme-handler/vscode;
Keywords=vscode;
-7
View File
@@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-code-workspace">
<comment>Visual Studio Code Workspace</comment>
<glob pattern="*.code-workspace"/>
</mime-type>
</mime-info>
-18
View File
@@ -1,18 +0,0 @@
[Desktop Entry]
Name=Visual Studio Code
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=code --reuse-window %F
Icon=com.visualstudio.code
Type=Application
StartupNotify=true
StartupWMClass=Code
Categories=TextEditor;Development;IDE;
MimeType=text/plain;inode/directory;application/x-code-workspace;
Actions=new-empty-window;
Keywords=vscode;
[Desktop Action new-empty-window]
Name=New Empty Window
Exec=code --new-window %F
Icon=com.visualstudio.code
-163
View File
@@ -1,163 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>com.visualstudio.code</id>
<metadata_license>MIT</metadata_license>
<project_license>LicenseRef-proprietary=https://code.visualstudio.com/license</project_license>
<name>Visual Studio Code</name>
<developer_name>Microsoft Corporation</developer_name>
<url type="homepage">https://code.visualstudio.com</url>
<url type="help">https://github.com/flathub/com.visualstudio.code?tab=readme-ov-file#usage</url>
<summary>Code editing. Redefined.</summary>
<description>
<p>Visual Studio Code is a new choice of tool that combines the simplicity of a code editor with what developers need for the core edit-build-debug cycle.</p>
<p>IMPORTANT: To use certain features in this flatpacked version (like the integrated terminal), please read the linked documentation.</p>
<p>This is the proprietary Microsoft build of Visual Studio Code, packaged into a Flatpak. This repackaging is not supported by Microsoft.</p>
</description>
<screenshots>
<screenshot type="default">
<image>https://code.visualstudio.com/home/home-screenshot-linux-lg.png</image>
<caption>Editing TypeScript and searching for extensions</caption>
</screenshot>
</screenshots>
<launchable type="desktop-id">com.visualstudio.code.desktop</launchable>
<content_rating type="oars-1.1">
<content_attribute id="social-info">moderate</content_attribute>
</content_rating>
<releases>
<release version="1.94.2" date="2024-10-10">
<description></description>
</release>
<release version="1.94.0" date="2024-10-03">
<description/>
</release>
<release version="1.93.1" date="2024-09-12">
<description/>
</release>
<release version="1.93.0" date="2024-09-05">
<description/>
</release>
<release version="1.92.2" date="2024-08-15">
<description/>
</release>
<release version="1.92.1" date="2024-08-08">
<description/>
</release>
<release version="1.92.0" date="2024-08-01">
<description/>
</release>
<release version="1.91.1" date="2024-07-11">
<description/>
</release>
<release version="1.90.2" date="2024-06-19">
<description/>
</release>
<release version="1.90.1" date="2024-06-13">
<description/>
</release>
<release version="1.89.1" date="2024-05-09"/>
<release version="1.88.0" date="2024-04-04"/>
<release version="1.87.2" date="2024-03-12"/>
<release version="1.87.1-1709685762" date="2024-03-12"/>
<release version="1.86.2-1707854558" date="2024-02-15"/>
<release version="1.86.1-1707298119" date="2024-02-08"/>
<release version="1.85.2-1705561292" date="2024-01-18"/>
<release version="1.85.1-1702462158" date="2023-12-13"/>
<release version="1.84.2-1699528352" date="2023-11-19"/>
<release version="1.84.1-1699275408" date="2023-11-06"/>
<release version="1.84.0-1698839401" date="2023-11-01"/>
<release version="1.82.2-1694671812" date="2023-09-14"/>
<release version="1.82.1-1694163687" date="2023-09-12"/>
<release version="1.82.0-1694039253" date="2023-09-07"/>
<release version="1.81.1-1691620686" date="2023-08-10"/>
<release version="1.81.0-1690980880" date="2023-08-03"/>
<release version="1.80.1-1689183569" date="2023-07-13"/>
<release version="1.79.2-1686734195" date="2023-06-15"/>
<release version="1.79.0-1686149120" date="2023-06-08"/>
<release version="1.78.2-1683731010" date="2023-05-11"/>
<release version="1.78.0-1683145611" date="2023-05-03"/>
<release version="1.77.3-1681292746" date="2023-04-12"/>
<release version="1.76.2-1678817801" date="2023-03-15"/>
<release version="1.75.0-1675266613" date="2023-02-02"/>
<release version="1.74.3-1673284829" date="2023-01-10"/>
<release version="1.74.2-1671533413" date="2022-12-20"/>
<release version="1.74.1-1671015296" date="2022-12-14"/>
<release version="1.74.0-1670260027" date="2022-12-07"/>
<release version="1.73.1-1667967334" date="2022-11-09"/>
<release version="1.73.0-1667318785" date="2022-11-02"/>
<release version="1.72.2-1665614327" date="2022-10-13"/>
<release version="1.71.2-1663191218" date="2022-09-15"/>
<release version="1.70.0-1659589288" date="2022-08-04"/>
<release version="1.69.2-1658162013" date="2022-07-18"/>
<release version="1.69.1-1657615746" date="2022-07-12"/>
<release version="1.68.1-1655263094" date="2022-06-15"/>
<release version="1.67.2-1652812855" date="2022-05-18"/>
<release version="1.67.0-1651667246" date="2022-05-05"/>
<release version="1.66.1" date="2022-04-07"/>
<release version="1.66.0" date="2022-03-29"/>
<release version="1.65.2" date="2022-03-10"/>
<release version="1.65.1" date="2022-03-08"/>
<release version="1.65.0" date="2022-03-02"/>
<release version="1.64.2" date="2022-02-10"/>
<release version="1.64.1" date="2022-02-07"/>
<release version="1.64.0" date="2022-02-02"/>
<release version="1.63.2" date="2021-12-15"/>
<release version="1.63.1" date="2021-12-14"/>
<release version="1.63.0" date="2021-12-09"/>
<release version="1.62.3" date="2021-11-19"/>
<release version="1.62.2" date="2021-11-12"/>
<release version="1.62.1" date="2021-11-05"/>
<release version="1.62.0" date="2021-11-04"/>
<release version="1.61.2" date="2021-10-19"/>
<release version="1.61.1" date="2021-10-14"/>
<release version="1.61.0" date="2021-10-08"/>
<release version="1.60.2" date="2021-09-22"/>
<release version="1.60.1" date="2021-09-14"/>
<release version="1.57.1-1623936438" date="2021-06-17"/>
<release version="1.56.2-1620837933" date="2021-05-13"/>
<release version="1.56.1-1620295664" date="2021-05-11"/>
<release version="1.56.0-1620166103" date="2021-05-05"/>
<release version="1.55.2-1618306574" date="2021-04-13"/>
<release version="1.55.1-1617807524" date="2021-04-08"/>
<release version="1.55.0-1617120113" date="2021-03-31"/>
<release version="1.54.3-1615805708" date="2021-03-15"/>
<release version="1.54.2-1615424669" date="2021-03-12"/>
<release version="1.54.1-1614897497" date="2021-03-05"/>
<release version="1.54.0-1614737804" date="2021-03-04"/>
<release version="1.53.2-1613044027" date="2021-02-11"/>
<release version="1.53.1-1612826996" date="2021-02-09"/>
<release version="1.53.0-1612368357" date="2021-02-04"/>
<release version="1.52.1-1608136922" date="2020-12-16"/>
<release version="1.51.1-1605051630" date="2020-11-11"/>
<release version="1.51.0-1604600753" date="2020-11-06"/>
<release version="1.50.1-1602600906" date="2020-10-14"/>
<release version="1.50.0-1602051089" date="2020-10-08"/>
<release version="1.49.3-1601661857" date="2020-10-02"/>
<release version="1.49.2-1600965325" date="2020-09-24"/>
<release version="1.49.0-1599744551" date="2020-09-10"/>
<release version="1.48.2-1598353430" date="2020-08-25"/>
<release version="1.48.0-1597304990" date="2020-08-13"/>
<release version="1.47.1-1594686231" date="2020-07-14"/>
<release version="1.47.0-1594283939" date="2020-07-10"/>
<release version="1.46.1-1592428892" date="2020-06-18"/>
<release version="1.46.0-1591780013" date="2020-06-10"/>
<release version="1.45.1-1589445302" date="2020-05-14"/>
<release version="1.45.0-1588868285" date="2020-05-07"/>
<release version="1.44.2-1587059832" date="2020-04-17"/>
<release version="1.44.1-1586789296" date="2020-04-14"/>
<release version="1.44.0" date="2020-04-08"/>
<release version="1.43.2" date="2020-03-24"/>
<release version="1.43.1" date="2020-03-18"/>
<release version="1.43.0" date="2020-03-09"/>
<release version="1.42.1" date="2020-02-13"/>
<release version="1.41.1" date="2019-12-19"/>
<release version="1.41.0" date="2019-12-12"/>
<release version="1.40.2" date="2019-11-27"/>
<release version="1.40.1" date="2019-11-13"/>
<release version="1.40.0" date="2019-11-07"/>
<release version="1.39.2" date="2019-10-15"/>
<release version="1.39.1" date="2019-10-11"/>
<release version="1.38.1" date="2019-09-11"/>
<release version="1.38.0" date="2019-09-04"/>
<release version="1.37.1" date="2019-08-15"/>
</releases>
</component>
-147
View File
@@ -1,147 +0,0 @@
app-id: com.visualstudio.code
runtime: org.freedesktop.Sdk
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '24.08'
command: code
tags: [proprietary]
separate-locales: false
finish-args:
- --require-version=0.10.3
- --share=network
- --share=ipc
- --socket=x11
- --socket=pulseaudio
- --socket=ssh-auth
- --device=all
- --allow=devel
- --filesystem=host
- --env=NPM_CONFIG_GLOBALCONFIG=/app/etc/npmrc
- --env=LD_LIBRARY_PATH=/app/lib
# required to fix cursor scaling on wayland
- --env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons
- --system-talk-name=org.freedesktop.login1
- --talk-name=org.freedesktop.Notifications
- --talk-name=org.freedesktop.secrets
- --talk-name=org.freedesktop.Flatpak
- --talk-name=com.canonical.AppMenu.Registrar
- --talk-name=com.canonical.AppMenu.Registrar.*
add-extensions:
com.visualstudio.code.tool:
directory: tools
subdirectories: true
version: '24.08'
add-ld-path: lib
no-autodownload: true
cleanup:
- /include
- /lib/pkgconfig
- /share/gtk-doc
- '*.la'
modules:
- shared-modules/libusb/libusb.json
- name: vscode
buildsystem: simple
build-commands:
- install -D code.sh /app/bin/code
- install -Dm644 vscode_64.png /app/share/icons/hicolor/64x64/apps/com.visualstudio.code.png
- install -Dm644 vscode_128.png /app/share/icons/hicolor/128x128/apps/com.visualstudio.code.png
- install -Dm644 vscode_256.png /app/share/icons/hicolor/256x256/apps/com.visualstudio.code.png
- install -Dm644 vscode_512.png /app/share/icons/hicolor/512x512/apps/com.visualstudio.code.png
- install -Dm644 com.visualstudio.code.metainfo.xml -t /app/share/metainfo
- install -Dm644 com.visualstudio.code.desktop -t /app/share/applications
- install -Dm644 com.visualstudio.code-url-handler.desktop -t /app/share/applications
- install -Dm644 com.visualstudio.code-workspace.xml -t /app/share/mime/packages
- install -Dm644 npmrc -t /app/etc
- install -Dm644 flatpak-warning.txt -t /app/share/vscode
- install -D apply_extra -t /app/bin
- cp /usr/bin/ar /app/bin
- ARCH_TRIPLE=$(gcc --print-multiarch) && cp /usr/lib/${ARCH_TRIPLE}/libbfd-*.so
/app/lib
- ARCH_TRIPLE=$(gcc --print-multiarch) && ln -s /usr/lib/${ARCH_TRIPLE}/libtinfo.so/app/lib/libtinfo.so.5
- mkdir /app/tools
sources:
- type: script
dest-filename: apply_extra
commands:
- ar x code.deb
- tar xf data.tar.xz
- mv usr/share/code vscode
- rm -r code.deb control.tar.* data.tar.xz debian-binary usr
- type: file
path: code.sh
- type: file
path: flatpak-warning.txt
- type: file
path: npmrc
- type: file
path: com.visualstudio.code.metainfo.xml
- type: file
path: com.visualstudio.code.desktop
- type: file
path: com.visualstudio.code-url-handler.desktop
- type: file
path: com.visualstudio.code-workspace.xml
- type: file
path: icons/vscode_64.png
- type: file
path: icons/vscode_128.png
- type: file
path: icons/vscode_256.png
- type: file
path: icons/vscode_512.png
- type: extra-data
filename: code.deb
only-arches: [x86_64]
url: https://update.code.visualstudio.com/1.94.2/linux-deb-x64/stable
sha256: dd67b44062197e067a8b241240e70b4be42ffa9a27eee147541f70d8cd8710b6
size: 102126134
x-checker-data:
type: json
url: https://api.github.com/repos/microsoft/vscode/releases/latest
version-query: .tag_name
timestamp-query: .published_at
url-query: '"https://update.code.visualstudio.com/" + $version + "/linux-deb-x64/stable"'
is-main-source: true
- type: extra-data
filename: code.deb
only-arches: [aarch64]
url: https://update.code.visualstudio.com/1.94.2/linux-deb-arm64/stable
sha256: 6c9f727e617a902140577006cbad0c177b6af3274adb790a5310bdc536762045
size: 94236498
x-checker-data:
type: json
url: https://api.github.com/repos/microsoft/vscode/releases/latest
version-query: .tag_name
timestamp-query: .published_at
url-query: '"https://update.code.visualstudio.com/" + $version + "/linux-deb-arm64/stable"'
- name: kerberos
subdir: src
post-install:
- install -Dm644 ../krb5.conf /app/etc/krb5.conf
sources:
- type: archive
url: https://kerberos.org/dist/krb5/1.20/krb5-1.20.tar.gz
sha256: 7e022bdd3c851830173f9faaa006a230a0e0fdad4c953e85bff4bf0da036e12f
- type: file
path: krb5.conf
- name: host-spawn
buildsystem: simple
build-commands:
- install -Dm755 host-spawn /app/bin/host-spawn
sources:
- type: file
url: https://github.com/1player/host-spawn/releases/download/1.5.0/host-spawn-x86_64
sha256: dbf67e7e111c4fe1edb0c642cbb4193064ca5b384aeb1054fc2befba6ed88b83
dest-filename: host-spawn
only-arches: [x86_64]
- type: file
url: https://github.com/1player/host-spawn/releases/download/1.5.0/host-spawn-aarch64
sha256: c42c12be6cdd83e374b847bec836659fb45231215797777c9ee1c9c0ae9e3783
dest-filename: host-spawn
only-arches: [aarch64]
+11
View File
@@ -0,0 +1,11 @@
[Desktop Entry]
Name=Wave
Exec=waveterm --enable-features UseOzonePlatform --ozone-platform-hint auto %U
Terminal=false
Type=Application
Icon=waveterm
StartupWMClass=Wave
Comment=Open-Source AI-Native Terminal Built for Seamless Workflows
Keywords=developer;terminal;emulator;
category=Development;Utility;
Categories=TerminalEmulator;
+26
View File
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>dev.commandline.waveterm</id>
<metadata_license>MIT</metadata_license>
<project_license>https://github.com/wavetermdev/waveterm?tab=Apache-2.0-1-ov-file#readme</project_license>
<name>Wave</name>
<developer_name>Command Line Inc</developer_name>
<url type="homepage">https://waveterm.dev</url>
<url type="help">https://github.com/flathub/dev.commandline.waveterm?tab=readme-ov-file#usage</url>
<summary>Code editing. Redefined.</summary>
<description>
<p>An open-source, cross-platform terminal for seamless workflows</p>
</description>
<screenshots>
<screenshot type="default">
<image>https://github.com/wavetermdev/waveterm/raw/main/assets/wave-screenshot.png</image>
<caption>Showcase of different widget types in Wave</caption>
</screenshot>
</screenshots>
<launchable type="desktop-id">dev.commandline.waveterm.desktop</launchable>
<content_rating type="oars-1.1">
<content_attribute id="social-info">moderate</content_attribute>
</content_rating>
<releases>
</releases>
</component>
+108
View File
@@ -0,0 +1,108 @@
app-id: dev.commandline.waveterm
runtime: org.freedesktop.Sdk
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '24.08'
command: waveterm
tags: [proprietary]
separate-locales: false
finish-args:
- --require-version=0.10.3
- --share=network
- --share=ipc
- --socket=x11
- --socket=pulseaudio
- --socket=ssh-auth
- --device=all
- --allow=devel
- --filesystem=host
- --env=LD_LIBRARY_PATH=/app/lib
# required to fix cursor scaling on wayland
- --env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons
- --system-talk-name=org.freedesktop.login1
- --talk-name=org.freedesktop.Notifications
- --talk-name=org.freedesktop.secrets
- --talk-name=org.freedesktop.Flatpak
- --talk-name=com.canonical.AppMenu.Registrar
- --talk-name=com.canonical.AppMenu.Registrar.*
cleanup:
- /include
- /lib/pkgconfig
- /share/gtk-doc
- '*.la'
modules:
- shared-modules/libusb/libusb.json
- name: waveterm
buildsystem: simple
build-commands:
- install -D code.sh /app/bin/waveterm
- install -Dm644 vscode_64.png /app/share/icons/hicolor/64x64/apps/dev.commandline.waveterm.png
- install -Dm644 vscode_128.png /app/share/icons/hicolor/128x128/apps/dev.commandline.waveterm.png
- install -Dm644 vscode_256.png /app/share/icons/hicolor/256x256/apps/dev.commandline.waveterm.png
- install -Dm644 vscode_512.png /app/share/icons/hicolor/512x512/apps/dev.commandline.waveterm.png
- install -Dm644 dev.commandline.waveterm.metainfo.xml -t /app/share/metainfo
- install -Dm644 dev.commandline.waveterm.desktop -t /app/share/applications
- install -Dm644 dev.commandline.waveterm-workspace.xml -t /app/share/mime/packages
- install -Dm644 npmrc -t /app/etc
- install -Dm644 flatpak-warning.txt -t /app/share/vscode
- install -D apply_extra -t /app/bin
- cp /usr/bin/ar /app/bin
- ARCH_TRIPLE=$(gcc --print-multiarch) && cp /usr/lib/${ARCH_TRIPLE}/libbfd-*.so
/app/lib
- ARCH_TRIPLE=$(gcc --print-multiarch) && ln -s /usr/lib/${ARCH_TRIPLE}/libtinfo.so/app/lib/libtinfo.so.5
- mkdir /app/tools
sources:
- type: script
dest-filename: apply_extra
commands:
- ar x waveterm.deb
- tar xf data.tar.xz
- mv usr/share/Wave waveterm
- rm -r waveterm.deb control.tar.* data.tar.xz debian-binary usr
path: dev.commandline.waveterm.metainfo.xml
- type: file
path: dev.commandline.waveterm.desktop
- type: extra-data
filename: waveterm.deb
only-arches: [x86_64]
url: https://dl.waveterm.dev/releases-w2/waveterm-linux-amd64-0.8.12.deb
sha512: qLZI7/VoAP2T0gOkTr+LrSlvLabHiMCguYJQZWaI9nwMxuVHhHOHOfDtbewXsVQdSdif/bCFaX3WNB5xCJs8Pw==
size: 106061756
# x-checker-data:
# type: json
# url: https://api.github.com/repos/wavetermdev/waveterm/releases/latest
# version-query: .tag_name
# timestamp-query: .published_at
# url-query: '"https://dl.waveterm.dev/releases-w2/waveterm-linux-amd64-" + $version + "/linux-deb-x64/stable"'
# is-main-source: true
- type: extra-data
filename: waveterm.deb
only-arches: [aarch64]
url: https://dl.waveterm.dev/releases-w2/waveterm-linux-amd64-0.8.12.deb
sha512: ZVMYgjxu48akGB5NYj4qlatsR/z+42EI3PdTphtadl5IgqhwcLcGNpA6UA3ef6GN00H9RdpFBHfd9RBJ9D0K4g==
size: 101433412
# x-checker-data:
# type: json
# url: https://api.github.com/repos/microsoft/vscode/releases/latest
# version-query: .tag_name
# timestamp-query: .published_at
# url-query: '"https://update.code.visualstudio.com/" + $version + "/linux-deb-arm64/stable"'
- name: host-spawn
buildsystem: simple
build-commands:
- install -Dm755 host-spawn /app/bin/host-spawn
sources:
- type: file
url: https://github.com/1player/host-spawn/releases/download/1.5.0/host-spawn-x86_64
sha256: dbf67e7e111c4fe1edb0c642cbb4193064ca5b384aeb1054fc2befba6ed88b83
dest-filename: host-spawn
only-arches: [x86_64]
- type: file
url: https://github.com/1player/host-spawn/releases/download/1.5.0/host-spawn-aarch64
sha256: c42c12be6cdd83e374b847bec836659fb45231215797777c9ee1c9c0ae9e3783
dest-filename: host-spawn
only-arches: [aarch64]
-53
View File
@@ -1,53 +0,0 @@
https://www.flathub.org
------------------------------------------------------------------------------------
| Warning: You are running an unofficial Flatpak version of Visual Studio Code !!! |
------------------------------------------------------------------------------------
Please open issues under: https://github.com/flathub/com.visualstudio.code/issues
This version is running inside a container and is therefore not able
to access SDKs on your host system!
To execute commands on the host system, run inside the sandbox:
$ host-spawn <COMMAND>
To make the Integrated Terminal automatically use the host system's shell,
you can add this to the settings:
{
"terminal.integrated.defaultProfile.linux": "bash",
"terminal.integrated.profiles.linux": {
"bash": {
"path": "host-spawn",
"args": ["bash"]
}
}
}
This Flatpak provides a standard development environment (gcc, python, etc).
To see what's available:
$ flatpak run --command=sh com.visualstudio.code
$ ls /usr/bin (shared runtime)
$ ls /app/bin (bundled with this flatpak)
To get support for additional languages or tools within the Flatpak, you have to install SDK extensions, e.g.
$ flatpak install flathub org.freedesktop.Sdk.Extension.dotnet
$ flatpak install flathub org.freedesktop.Sdk.Extension.golang
$ FLATPAK_ENABLE_SDK_EXT=dotnet,golang flatpak run com.visualstudio.code
Similarly for shells and other tools:
$ flatpak install com.visualstudio.code.tool.fish
$ flatpak install com.visualstudio.code.tool.podman
You can use
$ flatpak search <TEXT>
to find others.
-9
View File
@@ -1,9 +0,0 @@
[libdefaults]
dns_lookup_realm = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
rdns = false
pkinit_anchors = FILE:/etc/ssl/certs/ca-certificates.crt
spake_preauth_groups = edwards25519
default_ccache_name = KCM:
-6
View File
@@ -1,6 +0,0 @@
; We want to be completely separate from the host modules
; which means not touching $HOME
userconfig=${XDG_CONFIG_HOME}/npmrc
prefix=${XDG_DATA_HOME}/node_modules
init-module=${XDG_CONFIG_HOME}/npm-init.js
tmp=${XDG_CACHE_HOME}