This repository was archived by the owner on Dec 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed
Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 11var commander = require ( "commander" ) ;
22var package = require ( '../../package.json' )
3+ var config = require ( "../configuration" ) ;
34var endOfLine = require ( 'os' ) . EOL ;
45var fs = require ( 'fs' ) ;
56var util = require ( 'util' ) ;
@@ -45,6 +46,9 @@ if (fileContents && host) {
4546 'Content-Type' : 'application/json'
4647 }
4748 } ;
49+ if ( config . token ) {
50+ options . headers [ 'Authorization' ] = 'token ' + config . token ;
51+ }
4852
4953 var req = https . request ( options , function ( res ) {
5054 var success = res . statusCode == 200 ;
Original file line number Diff line number Diff line change 1- 9fcd9faa
1+ b4b80eb4ac
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ public class OctorunInstallDetails
8585 public const string DefaultZipMd5Url = "http://github-vs.s3.amazonaws.com/unity/octorun/octorun.zip.md5" ;
8686 public const string DefaultZipUrl = "http://github-vs.s3.amazonaws.com/unity/octorun/octorun.zip" ;
8787
88- public const string PackageVersion = "9fcd9faa " ;
88+ public const string PackageVersion = "b4b80eb4ac " ;
8989 private const string PackageName = "octorun" ;
9090 private const string zipFile = "octorun.zip" ;
9191
Original file line number Diff line number Diff line change 11version https://git-lfs.github.com/spec/v1
2- oid sha256:ac6b09ebe88bb66f5aefdd262bd9cbf9819fd6a0b7f996acfa746dc33f4dbe74
3- size 219653
2+ oid sha256:802c9a15337ce6692f8c4c215a131b755358972cb3a7e76139193855770ab1c8
3+ size 214371
Original file line number Diff line number Diff line change 1- e562a8ccf9ef1e1d00a2e9a72f8234cf
1+ 0a49f36d2e8df01456f832c6968a6782
You can’t perform that action at this time.
0 commit comments