Skip to content

A Go script to reset the trial period of Navicat Premium by cleaning up license-related files and configurations. Supports Navicat versions 15, 16, and 17.

License

Notifications You must be signed in to change notification settings

ismailatak/navicat-premium-trial-reset-go

Repository files navigation

Navicat Premium Trial Reset (Go)

This Go script helps you reset the trial period of Navicat Premium by cleaning up license-related files and configurations. It supports Navicat versions 15, 16, and 17.

Features

  • Automatically detects the installed Navicat Premium version.
  • Cleans up trial-related plist and hidden folder files.
  • Simple and fast execution using Go's os/exec package.
  • Supports Navicat Premium 15, 16, and 17.

Prerequisites

  • Go installed on your system. You can download and install it from here.
  • A MacOS system (this script relies on MacOS-specific commands like defaults).

Installation

Option 1: Using go get

  1. Clone the repository:

    git clone https://github.com/ismailatak/navicat-premium-trial-reset-go.git
    cd navicat-premium-trial-reset-go
  2. Build the script:

    go build -o navicat-reset
  3. Run the script:

    ./navicat-reset

Option 2: Using go install See also

  1. Alternatively, you can install and run the script with Go's install command:

    go install github.com/ismailatak/navicat-premium-trial-reset-go@latest
  2. After this, you can run the script directly as:

    navicat-premium-trial-reset-go

How It Works

  • The script reads the Info.plist file of the installed Navicat Premium app to detect the current version.
  • Based on the version, it targets the correct plist file in ~/Library/Preferences/.
  • It also scans and deletes hidden license files from ~/Library/Application Support/PremiumSoft CyberTech/Navicat CC/Navicat Premium/.

Example Output

Detected Navicat Premium version 17
Resetting trial time...
deleting [HASH] array...
deleting [HASH] folder...
Done

License

This project is licensed under the MIT License. See the LICENSE file for details.

Disclaimer

This script is for educational purposes only. The author does not encourage or support software piracy or unauthorized usage of licensed software.

About

A Go script to reset the trial period of Navicat Premium by cleaning up license-related files and configurations. Supports Navicat versions 15, 16, and 17.

Resources

License

Stars

Watchers

Forks

Packages

No packages published