Code Monkey home page Code Monkey logo

Comments (3)

pigpigyyy avatar pigpigyyy commented on August 24, 2024

Tried these instructions: https://docs.appimage.org/packaging-guide/converting-binary-packages/pkg2appimage.html#using-ingredients-from-an-ubuntu-ppa

But I got stuck running the pkg2appimage script on my arm64 ubuntu, and ended with a lot of errors.
Are you familiar with the AppImage tools? Since we have the ppa repo(https://launchpad.net/~ippclub/+archive/ubuntu/dora-ssr), maybe we can find the right way just converting the built package to an AppImage package.

from dora-ssr.

zhenruyan avatar zhenruyan commented on August 24, 2024

Tried these instructions: https://docs.appimage.org/packaging-guide/converting-binary-packages/pkg2appimage.html#using-ingredients-from-an-ubuntu-ppa

But I got stuck running the pkg2appimage script on my arm64 ubuntu, and ended with a lot of errors. Are you familiar with the AppImage tools? Since we have the ppa repo(https://launchpad.net/~ippclub/+archive/ubuntu/dora-ssr), maybe we can find the right way just converting the built package to an AppImage package.

I can also give it a try

from dora-ssr.

zhenruyan avatar zhenruyan commented on August 24, 2024

@pigpigyyy


docker run -it  -v .:/data --device /dev/fuse --cap-add SYS_ADMIN --security-opt apparmor:unconfined ubuntu:22.04 bash

# install dora
# https://launchpad.net/~ippclub/+archive/ubuntu/dora-ssr


sudo apt update
sudo apt install -y wget fuse
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
chmod +x appimagetool-x86_64.AppImage
sudo mv appimagetool-x86_64.AppImage /usr/local/bin/appimagetool

wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
chmod +x linuxdeploy-x86_64.AppImage
sudo mv linuxdeploy-x86_64.AppImage /usr/local/bin/linuxdeploy



linuxdeploy --appdir AppDir --executable=/usr/bin/dora-ssr --desktop-file=/usr/share/applications/dora-ssr.desktop --icon-file=/usr/share/dora-ssr/Image/icon.png


appimagetool AppDir



I tried to package an appimage file, but I couldn't start it

Encountering many problems in the middle, two of which are confusing

  1. The size of the icon file must be Valid resolutions for icons area: 8x8, 16x16, 20x20, 22x22, 24x24, 28x28, 32x32, 36x36, 42x42, 48x48, 64x64, 72x72, 96x96, 128x128, 160x160, 192x192, 256x256, 384x384, 480x480, 512x512
  2. File pointing issue for desktop files

-----------中文的分割线-------------------
我尝试着打包出来了 但是无法启动 暂时还没时间找问题

中间遇到很多问题 其中两个问题让人迷惑

  1. icon文件的尺寸必须是 Valid resolutions for icons are: 8x8, 16x16, 20x20, 22x22, 24x24, 28x28, 32x32, 36x36, 42x42, 48x48, 64x64, 72x72, 96x96, 128x128, 160x160, 192x192, 256x256, 384x384, 480x480, 512x512
    我用https://linux.cn/article-13779-1.html 命令生成了一批就通过验证了(真的** 一个icon 验证的如此严谨
  2. 桌面文件的文件指向问题

from dora-ssr.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.