Linux破解navicat

背景

2022-10-12 16:32:10 星期三

之前用激活方式好像挂了:

官方的下载navicat地址:http://navicat.rainss.cc/down.php
这是激活工具地址 http://navicat.rainss.cc/

解决办法

看到一个博客写的非常好,复制粘贴就可以的那种地址: 博客园

过程中遇到的问题

git clone https://aur.archlinux.org/navicat15-premium-cs.git

然后目录下面有一个navicat15-premium-cs文件夹,里面有一个PKGBUILD文件,这里面就写了详细的信息

# Maintainer: FlyInWind <2518509078@qq.com>

pkgname=navicat15-premium-cs
pkgver=15.0.30
pkgrel=2
pkgdesc="Navicat Premium is a multi-connection database development tool. (Chinese Simplified)"
arch=(x86_64)
url='https://www.navicat.com/en/navicat-15-highlights'
license=('GPL3')
source=(
    # The download url always download latest version
    "navicat15-premium-cs-${pkgver}.AppImage::http://download.navicat.com.cn/download/navicat15-premium-cs.AppImage"
    'navicat15.desktop'
)
sha256sums=(
    'b6bffd11b5e43a1c41515b61a5d1bf51c54a54e4721bc5b8fd67f3781557d540'
    '2c69105cc3ceda6075e36ebfd2931f1a023929045c18087a0a4504c0e5c4a4a1'
)
package() {
    _root_na_dir=opt/$pkgname
    _na_dir=$pkgdir/$_root_na_dir
    install -d $_na_dir/usr

    cd $srcdir
    cp -r usr/{bin,lib,plugins} $_na_dir/usr
    install AppRun $_na_dir
    cp manual.pdf $_na_dir
    cp cacert.pem $_na_dir

    install -d $pkgdir/usr/share/applications
    cp navicat15.desktop $pkgdir/usr/share/applications

    _icon_dir=usr/share/icons/hicolor/256x256/apps
    install -d $pkgdir/$_icon_dir
    cp $_icon_dir/navicat-icon.png $pkgdir/$_icon_dir/navicat15.png

    # Try fix libcrypt.so.1 not found
    ln -s /usr/lib/libcrypt.so $_na_dir/usr/lib/libcrypt.so.1
}
  • 博客中第六步有点疑惑,第一个命令全文中就没有涉及Desktop目录,我跳过了直接执行第二步
    image
posted @ 2020-06-20 16:54  Tarzen  阅读(5940)  评论(3编辑  收藏  举报