We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0e67267 + c78acfa commit 25fcc11Copy full SHA for 25fcc11
exporter.go
@@ -27,9 +27,14 @@ func main() {
27
PackVersion = flag.String("p", "1.0.0", "Pack Version (e.g 1.0.0)")
28
ExportName = flag.String("n", "Twitch-Export", "Export Name")
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")
+ ProxyAuthToken = flag.String("pt", "", "Authentication token used to authenticate with Gaz's Twitch Proxy")
31
flag.Parse()
32
33
+ if *ProxyAuthToken == "" {
34
+ fmt.Println("Please enter a proxy token using -pt <toke>")
35
+ os.Exit(1)
36
+ }
37
+
38
BuildConfig = readBuildJson(*buildConfig)
39
PackDIR = *mcDirCLI
40
readMCDIR(*mcDirCLI)
0 commit comments