Skip to content

Commit

Permalink
[#460] [BP] Linux AppImage. Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lyskouski committed Jul 8, 2024
1 parent 70c638c commit e59f978
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build_package_appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
ASSET_URL="https://github.com/lyskouski/app-finance/releases/download/v${{ inputs.version }}/fingrom_Linux.tar.gz"
curl -vLJO -H 'Accept: application/octet-stream' $ASSET_URL
tar -xzf fingrom_Linux.tar.gz -C AppDir
mv AppDir/lib/ AppDir/usr/
sh patch.sh -v "${{ inputs.version }}"
working-directory: linux-appimage

Expand All @@ -39,7 +38,7 @@ jobs:
sudo apt-get install -y libfuse2
wget -O appimage-builder-x86_64.AppImage https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.1.0/appimage-builder-1.1.0-x86_64.AppImage
chmod +x appimage-builder-x86_64.AppImage
appimage-builder-x86_64.AppImage --recipe AppImageBuilder.yml
./appimage-builder-x86_64.AppImage --recipe AppImageBuilder.yml
working-directory: linux-appimage

- name: Add AppImage Artifact to Build
Expand Down
15 changes: 14 additions & 1 deletion docs/implementation-flow/ch08-s04-linux.tex
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ \subsubsection{Linux AppImage}
$ sudo mv appimage-builder-x86_64.AppImage /usr/local/bin/appimage-builder

## Install dependencies
$ sudo apt install libfuse2
$ sudo apt-get install -y libfuse2

## Copy linux build
$ cp build/linux/x64/release/bundle linux-appimage/AppDir
Expand All @@ -204,6 +204,19 @@ \subsubsection{Linux AppImage}
$ appimage-builder --recipe AppImageBuilder.yml
\end{lstlisting}

\noindent A valuable change \issue{460}{} to be done is to exclude icons packages from \q{AppImageBuilder.yml} before
the build to avoid an error \emph{"Unable to load image-loading module: libpixbufloader-svg.so"}:

\begin{lstlisting}[language=terminal]
AppDir:
apt:
exclude:
- humanity-icon-theme
- hicolor-icon-theme
- adwaita-icon-theme
- ubuntu-mono
\end{lstlisting}

\noindent Then it's left to open \href{https://www.pling.com/product/add}{https://www.pling.com/product/add}
and register our application (\cref{img:d-pling}):

Expand Down
3 changes: 2 additions & 1 deletion docs/implementation-flow/ch08-s05-windows.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
% Copyright 2023 The terCAD team. All rights reserved.
% Use of this content is governed by a CC BY-NC-ND 4.0 license that can be found in the LICENSE file.

\newpage
\subsubsection{Microsoft Store}

To distribute a Windows app through the Microsoft Store, we should create a Microsoft Partner Center account
Expand Down Expand Up @@ -89,7 +90,7 @@ \subsubsection{Microsoft Store}
\img{distributing/win-store-key}{Microsoft Partner Center: Credentials for MS Store CLI}{img:d-win-store}

\noindent With all of that credentials taken we may activate the distribution pipeline:
\newpage

\begin{lstlisting}[language=yaml]
- name: Setup MS Store CLI
uses: microsoft/setup-msstore-cli@v1
Expand Down

0 comments on commit e59f978

Please sign in to comment.