1
0
Fork 0

Fixed some inconsistencies from first commit

Former-commit-id: f21a0dfaaf
pull/17/head
Ambrose Chua 2014-03-07 21:56:30 +08:00
parent 2feb5c9179
commit 97496c570d
5 changed files with 7 additions and 6 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
apikey.js

View File

@ -6,7 +6,9 @@ Code and design MIT Licensed.
## Configurations
Check out the file `Youpp.app/Contents/Resources/app.nw
**Do this in order to run**
Check out the file `Youpp.app/Contents/Resources/app.nw/apikey-sample.js`, dump in your YouTube API key and rename to `apikey.js`.
## How to use.
@ -32,5 +34,3 @@ Follow the [guide](https://github.com/rogerwang/node-webkit/wiki/How-to-package-
### [Packaging for Linux](https://github.com/rogerwang/node-webkit/wiki/How-to-package-and-distribute-your-apps#wiki-linux)
If you use Linux, you don't need help from this Linux newbie.
## Configuration

View File

@ -1,3 +1,3 @@
module.exports = {
key: "your-youtube-api-key-here"
youtubekey: "your-youtube-api-key-here"
};

View File

@ -1,3 +1,3 @@
module.exports = {
key: "AIzaSyD88ejeWUIVWmU7j5lhZNLyP9q3S6TFtFQ"
youtubekey: "AIzaSyD88ejeWUIVWmU7j5lhZNLyP9q3S6TFtFQ"
};

View File

@ -1,4 +1,4 @@
var youapikey = require("./apikey.js").key; // "AIzaSyD88ejeWUIVWmU7j5lhZNLyP9q3S6TFtFQ"
var youapikey = require("./apikey.js").youtubekey; // "AIzaSyD88ejeWUIVWmU7j5lhZNLyP9q3S6TFtFQ"
var gui = require('nw.gui');
var gclipboard = gui.Clipboard.get();