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 1
1
var commander = require ( "commander" ) ;
2
2
var package = require ( '../../package.json' )
3
+ var config = require ( "../configuration" ) ;
3
4
var endOfLine = require ( 'os' ) . EOL ;
4
5
var fs = require ( 'fs' ) ;
5
6
var util = require ( 'util' ) ;
@@ -45,6 +46,9 @@ if (fileContents && host) {
45
46
'Content-Type' : 'application/json'
46
47
}
47
48
} ;
49
+ if ( config . token ) {
50
+ options . headers [ 'Authorization' ] = 'token ' + config . token ;
51
+ }
48
52
49
53
var req = https . request ( options , function ( res ) {
50
54
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
85
85
public const string DefaultZipMd5Url = "http://github-vs.s3.amazonaws.com/unity/octorun/octorun.zip.md5" ;
86
86
public const string DefaultZipUrl = "http://github-vs.s3.amazonaws.com/unity/octorun/octorun.zip" ;
87
87
88
- public const string PackageVersion = "9fcd9faa " ;
88
+ public const string PackageVersion = "b4b80eb4ac " ;
89
89
private const string PackageName = "octorun" ;
90
90
private const string zipFile = "octorun.zip" ;
91
91
Original file line number Diff line number Diff line change 1
1
version 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