def add_to_gitignore
      @ignorable = ['sparkle/release','sparkle/release/*','sparkle/config/dsa_priv.pem']
      return unless File.exist?(gitignore_path)
      File.open(gitignore_path, 'r') do |f|
        f.each_line do |line|
          @ignorable.delete(line) if @ignorable.include?(line)
        end
      end
      File.open(gitignore_path, 'a') do |f|
        @ignorable.each do |i|
          f << "#{i}\n"
        end
      end if @ignorable.any?
      `cat #{gitignore_path}`
    end
def add_to_gitignore
      @ignorable = ['sparkle/release','sparkle/release/*','sparkle/config/dsa_priv.pem']
      return unless File.exist?(gitignore_path)
      File.open(gitignore_path, 'r') do |f|
        f.each_line do |line|
          @ignorable.delete(line) if @ignorable.include?(line)
        end
      end
      File.open(gitignore_path, 'a') do |f|
        @ignorable.each do |i|
          f << "#{i}\n"
        end
      end if @ignorable.any?
      `cat #{gitignore_path}`
    end
File manipulation and certificates