Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Linux build fixable, maybe? #37

@fang64

Description

@fang64

Is your feature request related to a problem? Please describe.
Linux builds not being provided

Describe the solution you'd like
I did manage to get Ubuntu 22.04 to build the deb and appimage portion in yarn on a native Ubuntu 22.04 machine.

Describe alternatives you've considered
None

Additional context
I'll attach some logs and commands I ran in my container to get the build to happen.
yarn-build.log

These are the series of commands I ran to get the build process to work, albeit something is wrong since it's not loading any content.

apt update
apt install sudo vim -y # Optional for working in live environment
apt upgrade
apt install libwebkit2gtk-4.0-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev git libxcb-shape0 libxcb-shape0-dev libxcb-xfixes0-dev # seems the libxcb xfixes0 and shape0 libraries were missing
# setup rust
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh 
. "$HOME/.cargo/env"
rustup update
# setup node 18 LTS
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
nvm install 18
node -v # should print `v18.20.3`
# verifies the right NPM version is in the environment
npm -v # should print `10.7.0`
# jump to $HOME
cd
# pull repo down
git clone https://github.com/Layendan/Layendanimator.git
cd Layendanimator/
corepack enable
# install yarn depends
yarn 
# build the binaries from project
yarn build

Another issue I noticed though is nothing seems to be working within the application, I can use the menus but nothing seems to be scraping or loading into the UI
Screenshot from 2024-05-22 14-19-20

I did try and add devtools to the Cargo.toml and run the yarn build --debug but that resulted in no developer tools appearing from Ctrl + Shift + i so I wasn't sure how to check what is going on in the application.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions