mirror of
https://github.com/nimbold/Firelink.git
synced 2026-08-21 08:26:40 +00:00
fix(linux): install libreadline6 directly via deb to fix linuxdeploy dependency resolution without LD_LIBRARY_PATH pollution
This commit is contained in:
@@ -62,16 +62,18 @@ jobs:
|
|||||||
patchelf \
|
patchelf \
|
||||||
libdbus-1-dev \
|
libdbus-1-dev \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
xvfb
|
xvfb \
|
||||||
|
libtinfo5
|
||||||
|
wget http://archive.ubuntu.com/ubuntu/pool/main/r/readline6/libreadline6_6.3-8ubuntu2_amd64.deb
|
||||||
|
sudo dpkg -i libreadline6_6.3-8ubuntu2_amd64.deb
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- name: Provision locked engines
|
- name: Provision locked engines
|
||||||
if: runner.os != 'macOS'
|
if: runner.os != 'macOS'
|
||||||
run: node scripts/provision-engines.js --target ${{ matrix.target }}
|
run: node scripts/provision-engines.js --target ${{ matrix.target }}
|
||||||
- name: Build package
|
- name: Build package
|
||||||
run: npm run tauri build -- --target ${{ matrix.target }} --bundles ${{ matrix.bundles }}
|
run: npm run tauri build -- -vv --target ${{ matrix.target }} --bundles ${{ matrix.bundles }}
|
||||||
env:
|
env:
|
||||||
APPIMAGE_EXTRACT_AND_RUN: 1
|
APPIMAGE_EXTRACT_AND_RUN: 1
|
||||||
LD_LIBRARY_PATH: ${{ github.workspace }}/src-tauri/provisioned-engines/${{ matrix.target }}/_internal
|
|
||||||
- name: Verify macOS packaged engines and launch
|
- name: Verify macOS packaged engines and launch
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user