Skip to content

Commit

Permalink
Merge pull request #3 from GCRC/bugissue1.0.0
Browse files Browse the repository at this point in the history
Fixes Windows Issues #1 and Issue #2
  • Loading branch information
ahayes authored Sep 28, 2018
2 parents bc91279 + c987f49 commit 47c0f80
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ java -jar transcript_tether.jar [-c <arg>] [-i <arg>] [-l <arg>] [-o <arg>] -t <
```
Examples:
```
java -jar transcript_tether-x.y.z.jar -v 'test1.mp4' -t 'test1.txt' -c 'client_secret.json'
java -jar transcript_tether-x.y.z.jar -v 'test2.mp4' -t 'test2.txt'
java -jar transcript_tether-x.y.z.jar -i 'youtubeID' -t 'test3.txt'
java -jar transcript_tether-x.y.z.jar -v test1.mp4 -t test1.txt -c client_secret.json
java -jar transcript_tether-x.y.z.jar -v test2.mp4 -t test2.txt
java -jar transcript_tether-x.y.z.jar -i youtubeID -t test3.txt
```

## FAQ
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'application'
mainClassName = 'ca.carleton.gcrc.tetherScript.Command'
sourceCompatibility = 1.7
targetCompatibility = 1.7
version = '1.0.1'
version = '1.0.2'

task exec (type: Jar) {
manifest {
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/ca/carleton/gcrc/tetherScript/Auth.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
*/
public class Auth {


/**
* Define a global instance of the HTTP transport.
*/
Expand All @@ -56,6 +57,8 @@ public class Auth {
*/
public static Credential authorize( String client_secret_json, String credentialDatastore) throws IOException {

final java.util.logging.Logger buggyLogger = java.util.logging.Logger.getLogger(FileDataStoreFactory.class.getName());
buggyLogger.setLevel(java.util.logging.Level.SEVERE);
// Load client secrets.
if(!isSameCredentialJson(client_secret_json, ApiExample.CREDENTIALFILE_INTERNAL)) {

Expand Down

0 comments on commit 47c0f80

Please sign in to comment.