Coder Social home page Coder Social logo

Comments (8)

Reverier-Xu avatar Reverier-Xu commented on May 24, 2024 1

The electron version 19 is too high even for Arch Linux ...

image

it is recommended that we just publish a PKGBUILD file on aur.archlinux.org instead of build a binary package. Users could install kuro from paru/yay or other AUR package helpers. PKGBUILD is a simple pack script, we can pack the appimage as a pacman package in PKGBUILD, that solves most problems.

the appimage PKGBUILD file may looks like this:

# Maintainer: ???
pkgname=kuro-appimage
pkgver=8.1.1
pkgrel=1
pkgdesc="An elegant Microsoft ToDo desktop client for Linux (a fork of Ao)"
arch=("x86_64")
url="https://github.com/davidsmorais/kuro"
license=("unknown")
_pkgname="Kuro-${pkgver}.AppImage"
noextract=(${_pkgname})
options=("!strip")
provides=("kuro")
optdepends=()
source=("https://github.com/davidsmorais/kuro/releases/download/v${pkgver}/${_pkgname}")
sha512sums=("755bd884a8bd44ca383205fe9c7836a42f6e5cfce9289d0b5dbaff924404773d02110b9da4332c0556ab1924f0e5a1e1ea4a2a2f142e48e86528ebb626814038")

_installdir=/opt/appimages

prepare() {
    cd ${srcdir}
    chmod a+x ${_pkgname}
    ${srcdir}/${_pkgname} --appimage-extract >/dev/null
    sed -i "s+AppRun+env DESKTOPINTEGRATION=no ${_installdir}/Kuro.AppImage+" "squashfs-root/kuro.desktop"
    sed -i "s+Icon=kuro+Icon=kuro-appimage+" "squashfs-root/kuro.desktop"
}

package() {
    install -Dm755 ${_pkgname} "${pkgdir}/${_installdir}/Kuro.AppImage"
    install -Dm644 "squashfs-root/usr/share/icons/hicolor/1024x1024/apps/kuro.png" "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/kuro-appimage.png"
    install -Dm644 "squashfs-root/kuro.desktop" "${pkgdir}/usr/share/applications/kuro-appimage.desktop"
}

so that you can just publish appimage then update the PKGBUILD, all things will be done.

from kuro.

Reverier-Xu avatar Reverier-Xu commented on May 24, 2024 1

Ahh...it seems that electron 19 has broken this app...
the AppImage does not work too...

from kuro.

Reverier-Xu avatar Reverier-Xu commented on May 24, 2024 1

I'm sorry, this is running fine in my machine, even after resetting the settings.

Can you please try and do a rm -rf ~/.config/Kuro ?

ohh, it seems ok, thank you.

from kuro.

davidsmorais avatar davidsmorais commented on May 24, 2024

Hey @Reverier-Xu πŸ‘‹

I've recently updated electron and electron-builder to their latest version on our most recent release. Can you please check if this dependency is still being used ?

If it is, then I guess this dependency comes from one of those packages and there's nothing I can really do about it 😒

from kuro.

Reverier-Xu avatar Reverier-Xu commented on May 24, 2024

Hi, the newest release solved the dependency problem but ... it seems not working as well.

image

Could you update the pacman's PKGBUILD file to this repository? maybe i can help.

from kuro.

davidsmorais avatar davidsmorais commented on May 24, 2024

@Reverier-Xu , thanks for the tips & feedback πŸ‘
there's already an open issue for AUR package (#22). I don't have any machines running any Arch based distros, so would be great if you could help πŸ‘
I'm also releasing a new version with electron 18.3.4 as 19.0.5 was released yesterday πŸ˜“

EDIT: Please give it a go with version 8.1.3

from kuro.

Reverier-Xu avatar Reverier-Xu commented on May 24, 2024

Hi, version 8.1.3 still not works (both pacman and appimage).

image

i think the electron is not necessary to upgrade to the newest version. AppImage will pack all dependencies so that we don't need to worry about it on any linux distros.

if you want to upgrade electron, there is a lot work to do.

from kuro.

davidsmorais avatar davidsmorais commented on May 24, 2024

I'm sorry, this is running fine in my machine, even after resetting the settings.

Can you please try and do a rm -rf ~/.config/Kuro ?

from kuro.

Related Issues (20)

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.