-
-
Save thanhtam92/d56563535760c1d6ad6b to your computer and use it in GitHub Desktop.
Changing SmartGit Free Trial License to Non-Commercial | |
Some developers might overlook the license selection when using the SmartGit. Instead of choose non-commercial, they by default clicked Next on the “30 days Free Trial”. Worse thing is reinstall the SmartGit won’t get you to change the license. | |
To alter the license. First, go to | |
Windows: %APPDATA%\syntevo\SmartGit\<main-smartgit-version> | |
OS X: ~/Library/Preferences/SmartGit/<main-smartgit-version> | |
Unix/Linux: ~/.smartgit/<main-smartgit-version> | |
and remove the file settings.xml. | |
Then start SmartGit program again. This time you will be ask about all the Settings information, which including the license! |
I can't find the directory .smartgit in Ubuntu Linux
please install the previous version again(smartgit-win-21_1_7 was ok for me)
and please tick the non-commercial option while installing
please install the previous version again(smartgit-win-21_1_7 was ok for me) and please tick the non-commercial option while installing
I confirm, the older version is ok: https://www.syntevo.com/downloads/smartgit/smartgit-win-21_1_7.zip
Thus I recommend delete C:\Users\YOURNAME\AppData\Roaming\syntevo and install v.21 https://www.syntevo.com/smartgit/download/archive/
I can't find the directory .smartgit in Ubuntu Linux
I found and deleted the configuration files in Linux in the folder ~home/.config/smartgit. Installed the older version 21 and the problem has been solved.
Thanks to everyone who responded!
Now i received message that smartgit will stop working on May 30 (even old version).
So does it mean that there is no way to use old version for non commercial?
So does it mean that there is no way to use old version for non commercial?
Found Non-commercial licensing changes for SmartGit 22.1 which explains the change in license. It has a link to Apply for Non-Commercial License. I haven't yet attempted to apply using the Open Source application via GitHub.
solicita para la licencia n comercial , que tengan un minimo de 100 aportes en github para autorizarla.. =(
Yoг can remove "evaluation" file
thanks
So does it mean that there is no way to use old version for non commercial?
Found Non-commercial licensing changes for SmartGit 22.1 which explains the change in license. It has a link to Apply for Non-Commercial License. I haven't yet attempted to apply using the Open Source application via GitHub.
Did you find a solution for "Non-Commercial License" without a GitHub account that respect "everyone who spends the majority of their work on open-source projects (before, it was only “to actively work on open-source projects”, which is significantly more restrictive)"?
For me it's back to my previous client. I don't fit their idea of a non-commercial user but the hobby license is too restrictive for me.
For me it's back to my previous client. I don't fit their idea of a non-commercial user but the hobby license is too restrictive for me.
Which client do you use?
same here, i work for education but the process seam too complicated to get a free licence
Sup guys. I use now v20.2.6
without any troubles. You can edit your smartgit.sh
file for auto-reset trial period as follows:
config="/home/$USER/.config/smartgit/<YOUR_SMARTGIT_VERSION>/preferences.yml"
# current date in msec + 25 days
NEW_DATE=$(date -d"+25 days" +%s%3N)
# sed is for change old date for new one in config
sed -r -i "s/(listx: \{eUT: )[0-9]+/\1$NEW_DATE/g" $config
sed -r -i "s/(, nRT: )[0-9]+/\1$NEW_DATE/g" $config
If you use your SmartGit instance as deb-package probably your smartgit.sh located at /usr/share/smartgit/bin/smartgit.sh
@alxpsr this is very elegant and works great, thanks!
@alxpsr, It works perfectly. Thanks!
not working on v23.1
You can also apply for a none commercial license:
https://www.syntevo.com/register-non-commercial/
Or pay 6 USD a month for the commercial
Works fine on v20.2.6. alxpsr Thanks!
I adapted the script for macOS:
#!/usr/bin/env zsh
config="/Users/$USER/Library/Preferences/SmartGit/20.2/preferences.yml"
# current date in msec + 25 days
NEW_DATE=$(date -j -v +25d +%s000)
# sed is for change old date for new one in config
sed -r -i '' "s/(listx: \{eUT: )[0-9]+/\1$NEW_DATE/g" $config
sed -r -i '' "s/(, nRT: )[0-9]+/\1$NEW_DATE/g" $config
Works fine on v20.2.6. alxpsr Thanks!
I adapted the script for macOS:
#!/usr/bin/env zsh config="/Users/$USER/Library/Preferences/SmartGit/20.2/preferences.yml" # current date in msec + 25 days NEW_DATE=$(date -j -v +25d +%s000) # sed is for change old date for new one in config sed -r -i '' "s/(listx: \{eUT: )[0-9]+/\1$NEW_DATE/g" $config sed -r -i '' "s/(, nRT: )[0-9]+/\1$NEW_DATE/g" $config
Please tell me where the file smartgit.sh
is located in MacOS
Works fine on v20.2.6. alxpsr Thanks!
I adapted the script for macOS:#!/usr/bin/env zsh config="/Users/$USER/Library/Preferences/SmartGit/20.2/preferences.yml" # current date in msec + 25 days NEW_DATE=$(date -j -v +25d +%s000) # sed is for change old date for new one in config sed -r -i '' "s/(listx: \{eUT: )[0-9]+/\1$NEW_DATE/g" $config sed -r -i '' "s/(, nRT: )[0-9]+/\1$NEW_DATE/g" $config
Please tell me where the file
smartgit.sh
is located in MacOS
It's here: /Applications/SmartGit.app/Contents/Resources/smartssh.sh, but this script not run when you run app from LaunchPad or Application folder. Better rename SmartGit
executable file to SmartGit_
in /Applications/SmartGit.app/Contents/MacOS/
And then create new text file near the SmartGit_ with this content and name it as SmartGit
:
#!/usr/bin/env zsh
config="/Users/$USER/Library/Preferences/SmartGit/20.2/preferences.yml"
# current date in msec + 25 days
NEW_DATE=$(date -j -v +25d +%s000)
# sed is for change old date for new one in config
sed -r -i '' "s/(listx: \{eUT: )[0-9]+/\1$NEW_DATE/g" $config
sed -r -i '' "s/(, nRT: )[0-9]+/\1$NEW_DATE/g" $config
/Applications/SmartGit.app/Contents/MacOS/SmartGit_
@andfrolov7 Thanks a lot!
P.S. I found a solution to add a script as a new application in the Applications folder.
After previous actions:
- Make the .sh file executable:
chmod +x /Applications/SmartGit.app/Contents/MacOS/SmartGit
- Create an Application using Automator:
- Open Automator. You can find it via Spotlight (press Cmd + Space, then type "Automator").
- Choose to create a new document and select "Application".
- In the left pane, under "Utilities", find "Run Shell Script" and drag it to the right pane.
- Replace the text in the script box with the
/Applications/SmartGit.app/Contents/MacOS/SmartGit
- Save the Automator application (File > Save), name it (for example, SmartGift), and choose Where: "Applications"
- Optionally, you can change the Application Icon:
- Find an image to use as the new icon (for example, from SmartGit:
/Applications/SmartGit.app/Contents/Resources/icon.icns
) - Open the image in Finder.
- Right-click on your newly created application on the Applications folder and select "Get Info".
- Drag and drop the new icon to the small icon at the top left corner of the Info window.
Yoг can remove "evaluation" file