Commit d62d1bde authored by Ed Reel's avatar Ed Reel

Update code from 1.25 to 1.26.1

Revert from 1.26.1 to 1.25.1
parent 58eb539d
...@@ -3,13 +3,13 @@ require 'package' ...@@ -3,13 +3,13 @@ require 'package'
class Code < Package class Code < Package
description 'Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and macOS.' description 'Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and macOS.'
homepage 'https://code.visualstudio.com/' homepage 'https://code.visualstudio.com/'
version '1.25' version '1.25.1'
case ARCH case ARCH
when 'x86_64' when 'x86_64'
source_url 'https://go.microsoft.com/fwlink/?LinkID=620884' source_url 'https://vscode-update.azurewebsites.net/1.25.1/linux-x64/stable'
source_sha256 '5856bbebf38aa05d584da4722869bbe507cf123f69f7ffab5f1532d73dbf3438' source_sha256 '5856bbebf38aa05d584da4722869bbe507cf123f69f7ffab5f1532d73dbf3438'
when 'i686' when 'i686'
source_url 'https://go.microsoft.com/fwlink/?LinkID=620885' source_url 'https://vscode-update.azurewebsites.net/1.25.1/linux-ia32/stable'
source_sha256 'af6adc2e2500e50bfebe7ee7b97d661b6e774a590136bf5f89334132a5b292e2' source_sha256 'af6adc2e2500e50bfebe7ee7b97d661b6e774a590136bf5f89334132a5b292e2'
else else
source_url 'https://raw.githubusercontent.com/Microsoft/vscode/1.25.1/README.md' source_url 'https://raw.githubusercontent.com/Microsoft/vscode/1.25.1/README.md'
...@@ -32,7 +32,7 @@ class Code < Package ...@@ -32,7 +32,7 @@ class Code < Package
system "mkdir", "-p", "#{CREW_DEST_PREFIX}/share/code" system "mkdir", "-p", "#{CREW_DEST_PREFIX}/share/code"
system "mkdir", "-p", "#{CREW_DEST_PREFIX}/bin" system "mkdir", "-p", "#{CREW_DEST_PREFIX}/bin"
system "cp", "-rpa", ".", "#{CREW_DEST_PREFIX}/share/code/" system "cp", "-rpa", ".", "#{CREW_DEST_PREFIX}/share/code/"
system "ln", "-s", "#{CREW_PREFIX}/share/code/bin/code", "#{CREW_DEST_PREFIX}/bin" system "ln", "-s", "#{CREW_PREFIX}/share/code/bin/code", "#{CREW_DEST_PREFIX}/bin/code"
else else
puts puts
puts 'Visual Studio Code is currently not supported on ARM and AArch64.'.lightred puts 'Visual Studio Code is currently not supported on ARM and AArch64.'.lightred
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment