git 在 ubuntu 上商业使用 30 天后如何更改 SmartGit 的许可选项?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10972289/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 13:53:39  来源:igfitidea点击:

How to change SmartGit's licensing option after 30 days of commercial use on ubuntu?

gitsmartgit

提问by pawel

while installing smartgit 3.0.4 I checked the commercial licensing option, because I was just clicking "next" button : ) (30 day trial and then you have to buy it). Now today is my 31st day of using SG and I can't change my licensing options (reinstalling smartgit doesn't help) and I'm not able to use SG anymore without paying (I'm not using it for commercial purposes). Do you know how to fix it?

在安装 smartgit 3.0.4 时,我检查了商业许可选项,因为我只是单击“下一步”按钮 :)(30 天试用,然后您必须购买)。今天是我使用 SG 的第 31 天,我无法更改我的许可选项(重新安装 smartgit 没有帮助),而且我无法再不付费使用 SG(我不会将其用于商业目的)。你知道如何解决吗?

I don't have these files on my ubuntu: http://www.syntevo.com/smartgit/documentation.html?page=installation

我的 ubuntu 上没有这些文件:http: //www.syntevo.com/smartgit/documentation.html?page= installation

回答by Ibolit

I went on the internet and I found this:

我上网查了一下,发现是这样的:

To alter the license. First, go to

更改许可证。首先,去

Windows: %APPDATA%\syntevo\SmartGit\<main-smartgit-version>

视窗: %APPDATA%\syntevo\SmartGit\<main-smartgit-version>

OS X: ~/Library/Preferences/SmartGit/<main-smartgit-version>

操作系统: ~/Library/Preferences/SmartGit/<main-smartgit-version>

Unix/Linux: ~/.smartgit/<main-smartgit-version>

Unix/Linux: ~/.smartgit/<main-smartgit-version>

and remove the file settings.xml.

并删除文件settings.xml

If you have updated many times, you may need to remove the updatesfolder as well.

如果您已多次更新,则可能还需要删除该updates文件夹。

It helped me on Windows, hope it helps you on other systems as well.

它在 Windows 上帮助了我,希望它在其他系统上也能帮助你。

回答by Artem

Starting from version 19.1 they have renamed filenames:

从 19.1 版开始,他们重命名了文件名:

? SmartGit grep -rl 'listx' ./19.1
./19.1/preferences.yml
./19.1/.backup/preferences.yml

It is possible to delete them to reset the license setting.

可以删除它们以重置许可证设置。

回答by Gaspar

I use linux and the answers did not help me.
I had to erase the folder ~/.config/smartgitto make it work again. This is what the documentation is saying

我使用 linux,答案对我没有帮助。
我不得不删除该文件夹~/.config/smartgit以使其再次工作。这就是文档所说的

Default Location of SmartGit's Settings Directory
Windows%APPDATA%\syntevo\SmartGit\ (%APPDATA% is the path defined in the environment variable APPDATA)
Mac OS~/Library/Preferences/SmartGit/ (the Finder might not show the ~/Libraries directory by default, but you can invoke open ~/Library from a terminal)
Linux/Unix${XDG_CONFIG_HOME}/smartgit/ (if the environment variable XDG_CONFIG_HOME is not defined, ~/.config is used instead)

SmartGit 设置目录的默认位置
Windows%APPDATA%\syntevo\SmartGit\(%APPDATA% 是环境变量 APPDATA 中定义的路径)
Mac OS~/Library/Preferences/SmartGit/(Finder 可能不会显示 ~/Libraries 目录默认情况下,但您可以从终端调用 open ~/Library)
Linux/Unix${XDG_CONFIG_HOME}/smartgit/(如果未定义环境变量 XDG_CONFIG_HOME,则使用 ~/.config 代替)

回答by Junio

My own solution on Linux (under ~/.config/smartgit/19.1) is to comment or remove line listxfrom preferences.ymlfile and reopen program.

我自己在 Linux 上(在 下~/.config/smartgit/19.1)的解决方案是listxpreferences.yml文件中注释或删除行并重新打开程序。

Deleting the all folders will make you reconfigure everything (useless).

删除所有文件夹将使您重新配置所有内容(无用)。

回答by ReNiSh A R

Here is a solutions for MAC PC:

这是MAC PC的解决方案:

Open terminal and type following command to show hidden files:

打开终端并输入以下命令以显示隐藏文件:

defaults write com.apple.finder AppleShowAllFiles YES

after that go to current user folder using finder, then you can see the Libraryfolder in it which is hidden type

之后使用finder转到当前用户文件夹,然后您可以看到其中的隐藏类型的Library文件夹

suppose in my case the username is 'Delta' so the folder path is:

假设在我的情况下,用户名是“Delta”,所以文件夹路径是:

OS X: ~Delta/Library/Preferences/SmartGit/<main-smartgit-version>

Remove settings file and change option to Non Commercial..

删除设置文件并将选项更改为非商业..

回答by agaida

it would be helpful to know if you use linux or windows. in linux the settings are located in ~/.smartgit/3. You could try to remove this folder. Imho this is also worth a try in Windows.

知道您使用的是 linux 还是 windows 会很有帮助。在 linux 中,设置位于 ~/.smartgit/3 中。您可以尝试删除此文件夹。恕我直言,这在 Windows 中也值得一试。

回答by Diogenes

I also raced through the first install on ubuntu and selected the default 30 day trial version instead of the non-commercial version.

我还在 ubuntu 上进行了第一次安装,并选择了默认的 30 天试用版而不是非商业版。

There is a blog on the syntevo site that addresses this issue.

在 syntevo 站点上有一个博客解决了这个问题

After unpacking the tar file I had a dir called smartgithg-4_0_3. I moved this folder to my home directory and renamed it smartgit. After running ./bin/smartgithg.sh, another folder was created called .smartgit (note the . prefix).

解压 tar 文件后,我有一个名为 smartgithg-4_0_3 的目录。我将此文件夹移动到我的主目录并将其重命名为 smartgit。运行 ./bin/smartgithg.sh 后,会创建另一个名为 .smartgit 的文件夹(注意 . 前缀)。

I simply deleted the .smartgit folder (the dir tree with all the .xml files) and ran the ,/bin/smarthg.sh script again. The whole install process is repeated. Select the non commercial option when it appears.

我只是删除了 .smartgit 文件夹(包含所有 .xml 文件的目录树)并再次运行 ,/bin/smarthg.sh 脚本。重复整个安装过程。出现时选择非商业选项。

回答by Nimmala Chaitanya

Working fine for windows by navigating to %APPDATA%\syntevo\SmartGit\ and delete all settings.xml, then open the installed software

通过导航到 %APPDATA%\syntevo\SmartGit\ 并删除所有 settings.xml,然后打开已安装的软件,Windows 工作正常

回答by Syed Amir Ali

on Mac:

在 Mac 上:

  • First goto ~/Library/Preferences/SmartGit/19.1
  • Second goto preferences.ymlfile and just comment listxline
  • Third open smart git
  • 首先转到 ~/Library/Preferences/SmartGit/19.1
  • 第二个转到preferences.yml文件,只是注释listx
  • 第三次开启智能git

回答by sachin soni

For version 19.1 and abovegoto specified directory and deletethese mentioned files:

对于19.1 及以上版本,请转到指定目录并删除这些提到的文件:

  1. C:\Users\UserName\AppData\Roaming\syntevo\SmartGit\20.1<smart-git-version>

    • preferences.yml
    • license file
  2. C:\Users\UserName\AppData\Roaming\syntevo\SmartGit\20.1\.backup

    • preferences.yml
  1. C:\Users\UserName\AppData\Roaming\syntevo\SmartGit\20.1<smart-git-version>

    • 首选项.yml
    • 许可证文件
  2. C:\Users\UserName\AppData\Roaming\syntevo\SmartGit\20.1\.backup

    • 首选项.yml

For the previous versiongoto specified directory and deletementioned file:

对于以前的版本转到指定目录并删除提到的文件:

  1. C:\Users\UserName\AppData\Roaming\syntevo\SmartGit\17<smart-git-version>

    • setting.xml
  1. C:\Users\UserName\AppData\Roaming\syntevo\SmartGit\17<smart-git-version>

    • 设置.xml