mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
remove libnss3.so and libnssutil3.so from AppImage (#1702)
This commit is contained in:
parent
551b7d45f4
commit
f51a6510aa
24
.github/workflows/ci-linux.yml
vendored
24
.github/workflows/ci-linux.yml
vendored
@ -86,21 +86,37 @@ jobs:
|
||||
# Move the lib out to avoid duplication
|
||||
mv AppDir/usr/lib ./
|
||||
LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH
|
||||
# copy translations
|
||||
# Copy translations
|
||||
mkdir -p AppDir/usr/translations
|
||||
cp $Qt5_Dir/translations/qt_zh_CN.qm AppDir/usr/translations
|
||||
# package qt5ct (EXTRA_QT_PLUGINS seems not work)
|
||||
# Package qt5ct (EXTRA_QT_PLUGINS seems not work)
|
||||
# EXTRA_QT_PLUGINS="platformthemes/libqt5ct.so;styles/libqt5ct-style.so"
|
||||
mkdir -p AppDir/usr/plugins/platformthemes
|
||||
mkdir -p AppDir/usr/plugins/styles
|
||||
cp $Qt5_Dir/plugins/platformthemes/* AppDir/usr/plugins/platformthemes/
|
||||
cp $Qt5_Dir/plugins/styles/* AppDir/usr/plugins/styles/
|
||||
# package libssl.so and libcrypto.so
|
||||
# Package libssl.so and libcrypto.so
|
||||
Qt5_Tools=$Qt5_Dir/../../Tools
|
||||
linuxdeploy-x86_64.AppImage --appdir ./AppDir --plugin qt --output appimage -l $Qt5_Tools/OpenSSL/binary/lib/libcrypto.so.1.1 -l $Qt5_Tools/OpenSSL/binary/lib/libssl.so.1.1
|
||||
tree AppDir
|
||||
working-directory: ${{runner.workspace}}/build
|
||||
|
||||
- name: Fix Package
|
||||
run: |
|
||||
mkdir fixpackage
|
||||
mv VNote*.AppImage ./fixpackage
|
||||
pushd fixpackage
|
||||
# Extract the AppImage
|
||||
./VNote*.AppImage --appimage-extract
|
||||
# Remove libnss3.so and libnssutil3.so
|
||||
rm ./squashfs-root/usr/lib/libnss*.so
|
||||
# Re-package
|
||||
rm VNote*.AppImage
|
||||
linuxdeploy-plugin-appimage-x86_64.AppImage --appdir=./squashfs-root
|
||||
mv VNote*.AppImage ../
|
||||
popd
|
||||
mv VNote*.AppImage vnote-linux-x64_v${{env.VNOTE_VER}}.AppImage
|
||||
cp vnote-linux-x64_v${{env.VNOTE_VER}}.AppImage vnote-linux-x64.AppImage
|
||||
tree AppDir
|
||||
working-directory: ${{runner.workspace}}/build
|
||||
|
||||
- name: Archive Artifacts
|
||||
|
Binary file not shown.
@ -1918,7 +1918,7 @@
|
||||
<message>
|
||||
<location filename="../../../widgets/notebookexplorer.cpp" line="337"/>
|
||||
<source>View By Name (Reversed)</source>
|
||||
<translation>按名字反向查看</translation>
|
||||
<translation>按名字倒序查看</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../widgets/notebookexplorer.cpp" line="342"/>
|
||||
@ -1928,7 +1928,7 @@
|
||||
<message>
|
||||
<location filename="../../../widgets/notebookexplorer.cpp" line="347"/>
|
||||
<source>View By Created Time (Reversed)</source>
|
||||
<translation>按创建时间反向查看</translation>
|
||||
<translation>按创建时间倒序查看</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../widgets/notebookexplorer.cpp" line="352"/>
|
||||
@ -1938,7 +1938,7 @@
|
||||
<message>
|
||||
<location filename="../../../widgets/notebookexplorer.cpp" line="357"/>
|
||||
<source>View By Modified Time (Reversed)</source>
|
||||
<translation>按修改时间反向查看</translation>
|
||||
<translation>按修改时间倒序查看</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
Loading…
x
Reference in New Issue
Block a user