Package Details: xmind-electron 10.1.2-1

Git Clone URL: (read-only, click to copy)
Package Base: xmind-electron
Description: XMind - The most popular mind mapping software
Upstream URL:
Licenses: custom: XMind
Conflicts: xmind-zen-electron
Provides: xmind-zen-electron
Submitter: bruceutut
Maintainer: bruceutut
Last Packager: bruceutut
Votes: 1
Popularity: 0.000692
First Submitted: 2020-04-29 01:49
Last Updated: 2020-04-29 01:49

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

jimorsm commented on 2020-05-18 09:31

存在两个问题: 1. 双击xmind文件只能打开应用,无法直接在应用中打开文件 2. xmind文件不显示应用程序图标

本人环境Manjaro 解决方法如下,修改PKGBUILD

prepare() {
    sed -i '/^Exec=/cExec=electron5 /usr/share/XMind2020/app.asar %U' "$srcdir/usr/share/applications/XMind.desktop"

package() {
    cd "$srcdir/usr/share"
    find . -type f -exec install -Dm644 {} "$pkgdir/usr/share/{}" \;
    mkdir -p ${pkgdir}/usr/share/mime/packages
    install -Dm644 "$srcdir/xmind.xml" "$pkgdir/usr/share/mime/packages/"
    sed -i 's/xmind_file/XMind/' "$pkgdir/usr/share/mime/packages/xmind.xml"
    sed -i '/xml:lang/d' "$pkgdir/usr/share/mime/packages/xmind.xml"

    cd "$srcdir/opt/XMind/resources"
    install -Dm644 app.asar "$pkgdir/usr/share/XMind2020/app.asar"

    cd app.asar.unpacked
    find . -type f -exec install -Dm644 {} "$pkgdir/usr/share/XMind2020/app.asar.unpacked/{}" \;