Reset Navicat Premium 15/16 remaining trial days
source link: https://gist.github.com/tuxity/32b353f00b38fe41c64434b98fdee077
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Thank you, this works perfect
how on ubuntu
how do reset trial on ubuntu
how do reset trial on ubuntu
how on ubuntu
my way to reset, tested on version 16
#!/bin/bash
dconf reset -f /com/premiumsoft/
rm -rf ~/.config/navicat/Premium/preferences.json*
~/apps/navicat16-premium-en.AppImage # path of the navicat
save it to ~/apps/navicat_reset_trial.sh
then locate navicate.desktop or create one ~/.local/share/applications/navicat.desktop
[Desktop Entry]
Name=Navicat
Comment=Navicat MySQL Database Manager
Exec=~/apps/navicat_reset_trial.sh
Icon=~/apps/navicat.png # optiional
Terminal=false
Type=Application
Categories=Development
X-Desktop-File-Install-Version=0.24
filipemontt commented 23 days ago •
Macbook.
Version 16
Not working
#!/usr/bin/env bash
set -e
file=$(defaults read /Applications/Navicat\ for\ MySQL.app/Contents/Info.plist)
regex="CFBundleShortVersionString = \"([^\.]+)"
[[ $file =~ $regex ]]
version=${BASH_REMATCH[1]}
echo "Detected Navicat Premium version $version"
case $version in
"16")
file=/Users/myname/Library/Preferences/com.navicat.NavicatForMySQL.plist
;;
"15")
file=~/Library/Preferences/com.prect.NavicatPremium15.plist
;;
*)
echo "Version '$version' not handled"
exit 1
;;
esac
echo -n "Reseting trial time..."
regex="([0-9A-Z]{32}) = "
[[ $(defaults read $file) =~ $regex ]]
hash=${BASH_REMATCH[1]}
if [ ! -z $hash ]; then
defaults delete $file $hash
fi
regex="\.([0-9A-Z]{32})"
[[ $(ls -a /Users/myname/Library/Application\ Support/PremiumSoft\ CyberTech/Navicat\ CC/Navicat\ Premium/ | grep '^\.') =~ $regex ]]
hash2=${BASH_REMATCH[1]}
if [ ! -z $hash2 ]; then
rm /Users/myname/Library/Application\ Support/PremiumSoft\ CyberTech/Navicat\ CC/Navicat\ Premium/.$hash2
fi
echo " Done"
Output
Detected Navicat Premium version 16
Reseting trial time... Done
But not reset date, and show to register.
Thank you so much!
P.s I used this script with little modification for restore my trial period for Navicat for MySQL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Recommend
-
5
20...
-
1
MySQL 数据库图形化管理界面应用种草之 Navicat Premium 如何使用 一、工具/原料 二、安装和建立连接 2.1、连接本地数据库 2.2、连接远程数据库 三、Navicat Premi...
-
8
数据库管理利器——Navicat Premium v15.0.26学习版(Windows+Ma...
-
726
Anyone know how to get this thing working? I keep getting the same error saying, "We cannot offer you a new trial because a trial period has alre...
-
2
Navicat Premium 16软件安装包和安装教程 原创 Navicat Premium 16软件简介...
-
3
Navicat Premium 15 永久破解激活工具及安装教程(亲测可用) 15256139206...
-
8
各类软件破解相关全集: Xmind8 破解教程\ Xshell7+Xftp7免费版下载 (亲测可用)\
-
4
Navicat Premium(数据转换) 精选 原创 雍州无名 2022-09-22 09:00:38...
-
106
StartIsBack Trial reset There is no key in tha...
-
14
Background Knowledge Configuration structure Navicat create a folder ~/.config/navicat to storage configures /home/user/.config/navicat ├── Premium │ ├── prefer...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK