Skip to content

Instantly share code, notes, and snippets.

Avatar

nick nvurgaft

  • private
  • israel
View GitHub Profile
@mistic100
mistic100 / check-version.iss
Last active May 17, 2021
[InnoSetup] Prevent install if newer version is already installed
View check-version.iss
#define AppId "{INSERT HERE YOUR GUID}"
#define AppName "My App"
#define AppVersion "1.7"
[CustomMessages]
english.NewerVersionExists=A newer version of {#AppName} is already installed.%n%nInstaller version: {#AppVersion}%nCurrent version:
[Code]
// find current version before installation
function InitializeSetup: Boolean;
var Version: String;
@henriquemoody
henriquemoody / sublime-text-2.sh
Last active Jul 8, 2021
Install Sublime Text on Fedora.
View sublime-text-2.sh
#!/usr/bin/env bash
# Usage: {script} [ OPTIONS ] TARGET VERSION
#
# TARGET Default target is "/usr/local".
# VERSION If not defined tries to get the build into the Sublime Text 2 website.
#
# OPTIONS
#
# -h, --help Displays this help message.
#
@devudilip
devudilip / SUBLIME TEXT2 INSTALLATION
Created Oct 22, 2011
HOW TO INSTALL SUBLIME TEXT 2 ON UBUNTU 11.10
View SUBLIME TEXT2 INSTALLATION
#BECOME SUPER USER#
sudo -i
#add sublime to repository#
add-apt-repository ppa:webupd8team/sublime-text-2
#update#