File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,14 @@ func main() {
27
27
PackVersion = flag .String ("p" , "1.0.0" , "Pack Version (e.g 1.0.0)" )
28
28
ExportName = flag .String ("n" , "Twitch-Export" , "Export Name" )
29
29
buildConfig := flag .String ("c" , ".build.json" , "Config file to get build variables" )
30
- ProxyAuthToken = flag .String ("pt" , "changeme " , "Authentication token used to authenticate with Gaz's Twitch Proxy" )
30
+ ProxyAuthToken = flag .String ("pt" , "" , "Authentication token used to authenticate with Gaz's Twitch Proxy" )
31
31
flag .Parse ()
32
32
33
+ if * ProxyAuthToken == "" {
34
+ fmt .Println ("Please enter a proxy token using -pt <toke>" )
35
+ os .Exit (1 )
36
+ }
37
+
33
38
BuildConfig = readBuildJson (* buildConfig )
34
39
PackDIR = * mcDirCLI
35
40
readMCDIR (* mcDirCLI )
You can’t perform that action at this time.
0 commit comments