1
0
Fork 0

Compare commits

...

47 Commits

Author SHA1 Message Date
Ambrose Chua ddcf2e81ec Merge branch 'master' of github.com:ambrosechua/Youpp 2016-09-01 23:51:18 +08:00
Ambrose Chua 98e63bc0f7 Merge branch 'refactor' 2016-09-01 23:49:57 +08:00
Ambrose Chua 2ac0d31514 Merge branch 'master' into refactor 2016-09-01 23:48:55 +08:00
Ambrose Chua 6525cfe8f8 Bump version
Former-commit-id: 84f7236733bfcc6eaba47d3c2c6714f6bc75332b [formerly 8fdca55385e4fb2d50079ebfc1efb3ba8121f55f]
Former-commit-id: a3bb7ec7678bb5ffc1247fa0c5659b4ef55a108c
2016-09-01 23:38:56 +08:00
Ambrose Chua 7057dd23a5 Add build script
Former-commit-id: 265c98785c618310761cecdf92c8c0c3addaac73 [formerly fa82ae5ee36cb69b8a5090e8a77cb139fa9a921f]
Former-commit-id: 4d7c3bb499de334c66554a4ba2703b1e938cce27
2016-09-01 23:38:56 +08:00
Ambrose Chua 29bd78917d Update icon paths.
Former-commit-id: ae73e9f43303da1548ca118ef3360ea739b5cc05 [formerly 2b064defb6dc676f58b70bc365af5c2d13e16af6]
Former-commit-id: d7321d08f82d82ab5b269d32a66216b0931381e2
2016-09-01 23:38:56 +08:00
Ambrose Chua 7fbc838ab8 Bleh
Former-commit-id: 46b10f194b73792bede13097308d82667e5a973e [formerly 7154199195977026f8cbf274865ef9a557477b72]
Former-commit-id: f85ede32082a8fae47a73907a57893e17737bb38
2016-09-01 23:38:55 +08:00
Ambrose Chua fe47dc74dc Initial refactor for new packaging system
Former-commit-id: 148913f4bf5d728681c41540f427de184757c959 [formerly 325854937a804688c817f212947e755360c9a6cc]
Former-commit-id: 752dc3c77407a22217e89848b226665b47e3e5bf
2016-09-01 23:38:52 +08:00
Ambrose Chua a79416e56b Update README.md
Update NW.js


Former-commit-id: 82d36710464c8a36bbd09075a5c47a3fe25cdec7 [formerly 49bfb815fc2333cfad2d754df5bee9a72fa5f1c5]
Former-commit-id: 65c6c36f0f608f70fda48414547a3fda6258134d
2016-09-01 23:38:43 +08:00
Ambrose Chua ad2fba7a34 Update README.md
Former-commit-id: 7410bbfc0b01f4b4e6a75fccdcdfcb78c65ff289 [formerly 5333a20af88519f463b92815925f4132f79a2498]
Former-commit-id: d3778fedbbbf350a6dc28c137f7a6431e2db4bea
2016-09-01 23:38:26 +08:00
Ambrose Chua 9a1bd0a188 Increment version
Former-commit-id: bb69c57bac512b72108ded300545b3244ce05e70 [formerly 91d66f17a05b08176fd7c50a7708c519f45c1e5c]
Former-commit-id: a804fc5a183219f6d2084958dfe70a0767753314
2016-09-01 23:38:26 +08:00
Ambrose Chua b0ed0c1c03 It was black all along...
<curses>


Former-commit-id: be4a21cfbd7aa6b3bf4a2d03c1c36cd718b068e3 [formerly 04fcd5ec6be70ecb1b895afb3fe9c1bb28d67dbf]
Former-commit-id: ed9a06f17d3a9f6fff84222021ced850aeda264a
2016-09-01 23:38:26 +08:00
David D'hont 0929dd28e0 Updated Readme for Windows
Former-commit-id: 3c92ffc5ee030a4d2772707e38747970a945325c [formerly a06a1a9635fc78fa8954aae425dcc25b1a96be66]
Former-commit-id: ed75170d052dc8c671fe24e0103ce7ce15f4ab80
2016-09-01 23:38:26 +08:00
David D'hont 57cb21043c Added NodeBob
Added NodeBob for easier compiling on Windows


Former-commit-id: 3b7a3530460a25f4d4a9e09f2147660733d564a0 [formerly e90a0aa8f87aabce3afe2950e486de2b7c159267]
Former-commit-id: 5e3efccd117f3e9f999b439aeeaa5a17d9cf995a
2016-09-01 23:38:25 +08:00
Ambrose Chua b77b94c500 Update NW.js
Former-commit-id: d7e736ff9656706a946acc9ee9727aba33ac05ca [formerly 283d04e2fa89bbb8879734beae6f7a51a9ae7f27]
Former-commit-id: ef1c75fc4b0384410d2ed4c71ff87079b9f973da
2016-09-01 22:55:18 +08:00
Ambrose Chua 3f984f21e6 Update README.md 2014-07-23 18:42:59 +08:00
Ambrose Chua 2071af6f67 Update README.md
Former-commit-id: 771cd2e16e5bf8afada089e2bceae2e3b7677e2b [formerly 3f984f21e6]
Former-commit-id: 59586379965346a294da9c9ef11c4f08737308d3
2014-07-23 18:42:59 +08:00
Ambrose Chua 0e3a6c0e65 Update README.md 2014-07-23 18:24:59 +08:00
Ambrose Chua d431c98420 Update README.md
Former-commit-id: e3e51c171b12acc59147923050b448ca85909f21 [formerly 0e3a6c0e65]
Former-commit-id: 68d18e5e8049d247bb7e63fd9cb1e04940b541ff
2014-07-23 18:24:59 +08:00
Ambrose Chua 81d0803976 Increment version 2014-07-23 12:31:03 +08:00
Ambrose Chua fd76e7e77a Increment version
Former-commit-id: dd4ac9a1bb144c740a2b2257ae0ae736151285e4 [formerly 81d0803976]
Former-commit-id: ccbe0109ce997f5a3b670b8b97d8881de094bdb0
2014-07-23 12:31:03 +08:00
Ambrose Chua 3229039d69 It was black all along...
<curses>
2014-07-21 13:47:53 +08:00
Ambrose Chua 2856c63aa5 It was black all along...
<curses>


Former-commit-id: f77e3cee592126d506dec3470a305f5a988f1463 [formerly 3229039d69]
Former-commit-id: ea654191ec952dceed0a5e9a9beb4095a2377e75
2014-07-21 13:47:53 +08:00
Ambrose Chua aeb8c0b599 Merge pull request #12 from Blaxus/master
Windows build process by Blaxus
2014-07-21 13:38:06 +08:00
Ambrose Chua 6559518c24 Merge pull request #12 from Blaxus/master
Windows build process by Blaxus

Former-commit-id: ff6c34402316d4dbdebbf967bfece6f0bcb85959 [formerly aeb8c0b599]
Former-commit-id: a4ac9b8fcae0ab2d5e27755e94487391dff6b74d
2014-07-21 13:38:06 +08:00
Ambrose Chua d9ed6300f3 Update README.md
Former-commit-id: dee510245a
2014-07-19 13:26:02 +08:00
Ambrose Chua dee510245a Update README.md 2014-07-19 13:26:02 +08:00
Ambrose Chua 1778a8cbbc Screw Windows Firewall
But I’m not sure if this will work to resolve it…


Former-commit-id: ee0adab2f2
2014-07-18 21:52:50 +08:00
Ambrose Chua 8fe16bbdbb Removed duplicate icns
Former-commit-id: 1a33447949
2014-07-18 21:09:53 +08:00
Ambrose Chua 3d1922b43b Upped Version to 0.0.3
Former-commit-id: e5705330f6
2014-07-18 19:14:05 +08:00
Ambrose Chua 2f957eec9e Bug fixes, fixes #10, #11, #1
Former-commit-id: 6042b0d472
2014-07-18 19:10:50 +08:00
Ambrose Chua 9160fdfd35 YAY BUG fixes #7 partially
http://github.com/ambrosechua/Youpp/issues/7#issuecomment-49308466

Former-commit-id: 1cc1a27491
2014-07-18 16:04:37 +08:00
Ambrose Chua 41b62fa9bf Minor fixes for the invisible keyboard hack
Former-commit-id: f377061697
2014-06-27 11:12:02 +08:00
Ambrose Chua 5b1a331c0a Fix drag issue.
Former-commit-id: 2eecf5bdf9
2014-05-25 22:24:38 +08:00
Ambrose Chua 55464b5d39 Update README.md
Former-commit-id: 9f2f9edf47
2014-05-18 22:26:52 +08:00
David D'hont 642637d132 Updated Readme for Windows 2014-05-11 21:18:44 +02:00
David D'hont b7dcb3bf8f Updated Readme for Windows
Former-commit-id: 0be1781078e6ef8b54f32fa585b4e23ba19242f3 [formerly 642637d132]
Former-commit-id: ab7570fbfdb52a3481347f55b259b0ca3c2f7e19
2014-05-11 21:18:44 +02:00
David D'hont ef742963be Added NodeBob
Added NodeBob for easier compiling on Windows
2014-05-11 21:11:25 +02:00
David D'hont 6fb7beeff7 Added NodeBob
Added NodeBob for easier compiling on Windows


Former-commit-id: cb4da009296bf99b05a3193b29d4a1c9eb55225a [formerly ef742963be]
Former-commit-id: 307de17f1fe7fcce1f2986f7bdc9f691ac90bffa
2014-05-11 21:11:25 +02:00
Ambrose Chua aa2d1ab4f7 No more socket.io
Former-commit-id: 1256c51098
2014-03-16 00:36:25 +08:00
Ambrose Chua 6d526b7443 Key events get triggered
Yay event targeted to input ele.


Former-commit-id: aa429b802f
2014-03-16 00:33:49 +08:00
Ambrose Chua a1d980127a Removed subpixel
Former-commit-id: 0daea58fd5
2014-03-10 09:02:39 +08:00
Ambrose Chua daeda1fea0 Removed screenshots.
Former-commit-id: 22726bc800
2014-03-08 07:51:37 +08:00
Ambrose Chua 91bb58ceac First screenshots
Former-commit-id: a1ddbf1e13
2014-03-07 22:02:19 +08:00
Ambrose Chua 0b39e469af More fun
Former-commit-id: 8e343520a4
2014-03-07 22:00:09 +08:00
Ambrose Chua 97496c570d Fixed some inconsistencies from first commit
Former-commit-id: f21a0dfaaf
2014-03-07 21:56:30 +08:00
Ambrose Chua 2feb5c9179 First commit
Former-commit-id: dfa0b9dcc4
2014-03-07 21:51:43 +08:00
120 changed files with 25 additions and 11284 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
apikey.js
src/apikey.js
build/

View File

@ -4,37 +4,18 @@ A (beta) design-oriented, simple YouTube client.
Code and design MIT Licensed.
![youpp-splash-screenshot](https://f.cloud.github.com/assets/1705906/2428935/f84a0d7a-ac62-11e3-9ebe-b44484338afc.png)
![youpp-adv](https://f.cloud.github.com/assets/1705906/2428934/f81a83f2-ac62-11e3-9366-a7c71c58c09b.png)
## Configurations
**Do this in order to run**
**Please do this to prevent API overload! **
Check out the file `Youpp.app/Contents/Resources/app.nw/apikey-sample.js`, dump in your YouTube API key and rename to `apikey.js`.
Check out the file `apikey-sample.js`, dump in your YouTube API key and rename to `apikey.js`.
## Where?
## Packaging
All the fun happens in `Youpp.app/Contents/Resources/app.nw/`. All powered by node-webkit!
## How to use.
Well, I just dumped the .app folder here because I left the node-webkit.
### Developing or running on a Mac
Just clone this and you will find the app sitting in the folder without the need to compile anything.
Problem is, node-webkit updates will have to be replaced on your own. [Download it](https://github.com/rogerwang/node-webkit/#downloads). Just keep the `Resources` and `Info.plist` files in the Youpp.app folder.
### Packaging for Windows
Follow the [guide](https://github.com/rogerwang/node-webkit/wiki/How-to-package-and-distribute-your-apps#wiki-windows-1) on node-webkit wiki, or just read this:
1. zip up the **contents** of the app.nw folder (don't be lazy and zip up the app.nw folder). Rename the zip to app.nw
2. [Download](https://github.com/rogerwang/node-webkit/#downloads) node-webkit windows and rename folder to "node-webkit".
3. Put the app.nw file into that folder.
4. Run pack-Youpp.bat in the parent folder of node-webkit.
5. zip up the new Youpp folder.
6. share your build.
### [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.
```
sudo npm i -g nwjs-builder
./build.sh
```

View File

@ -1,46 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>12C3006</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>node-webkit Helper EH</string>
<key>CFBundleExecutable</key>
<string>node-webkit Helper EH</string>
<key>CFBundleIdentifier</key>
<string>com.intel.nw.helper.EH</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>node-webkit Helper EH</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>32.0.1700.107</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1700.107</string>
<key>DTSDKBuild</key>
<string>11E52</string>
<key>DTSDKName</key>
<string>macosx10.7</string>
<key>DTXcode</key>
<string>0452</string>
<key>DTXcodeBuild</key>
<string>4G2008a</string>
<key>LSFileQuarantineEnabled</key>
<true/>
<key>LSMinimumSystemVersion</key>
<string>10.6.0</string>
<key>LSUIElement</key>
<string>1</string>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
<key>SCMRevision</key>
<string>239963</string>
</dict>
</plist>

View File

@ -1,32 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>crash_report_sender</string>
<key>CFBundleExecutable</key>
<string>crash_report_sender</string>
<key>CFBundleIconFile</key>
<string>crash_report_sender</string>
<key>CFBundleIdentifier</key>
<string>com.Breakpad.${PRODUCT_NAME:identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>crash_report_sender</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>LSHasLocalizedDisplayName</key>
<true/>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>

View File

@ -1,46 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>12C3006</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>node-webkit Helper NP</string>
<key>CFBundleExecutable</key>
<string>node-webkit Helper NP</string>
<key>CFBundleIdentifier</key>
<string>com.intel.nw.helper.NP</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>node-webkit Helper NP</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>32.0.1700.107</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1700.107</string>
<key>DTSDKBuild</key>
<string>11E52</string>
<key>DTSDKName</key>
<string>macosx10.7</string>
<key>DTXcode</key>
<string>0452</string>
<key>DTXcodeBuild</key>
<string>4G2008a</string>
<key>LSFileQuarantineEnabled</key>
<true/>
<key>LSMinimumSystemVersion</key>
<string>10.6.0</string>
<key>LSUIElement</key>
<string>1</string>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
<key>SCMRevision</key>
<string>239963</string>
</dict>
</plist>

View File

@ -1,32 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>crash_report_sender</string>
<key>CFBundleExecutable</key>
<string>crash_report_sender</string>
<key>CFBundleIconFile</key>
<string>crash_report_sender</string>
<key>CFBundleIdentifier</key>
<string>com.Breakpad.${PRODUCT_NAME:identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>crash_report_sender</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>LSHasLocalizedDisplayName</key>
<true/>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>

View File

@ -1,46 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>12C3006</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>node-webkit Helper</string>
<key>CFBundleExecutable</key>
<string>node-webkit Helper</string>
<key>CFBundleIdentifier</key>
<string>com.intel.nw.helper</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>node-webkit Helper</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>32.0.1700.107</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1700.107</string>
<key>DTSDKBuild</key>
<string>11E52</string>
<key>DTSDKName</key>
<string>macosx10.7</string>
<key>DTXcode</key>
<string>0452</string>
<key>DTXcodeBuild</key>
<string>4G2008a</string>
<key>LSFileQuarantineEnabled</key>
<true/>
<key>LSMinimumSystemVersion</key>
<string>10.6.0</string>
<key>LSUIElement</key>
<string>1</string>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
<key>SCMRevision</key>
<string>239963</string>
</dict>
</plist>

View File

@ -1,32 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>crash_report_sender</string>
<key>CFBundleExecutable</key>
<string>crash_report_sender</string>
<key>CFBundleIconFile</key>
<string>crash_report_sender</string>
<key>CFBundleIdentifier</key>
<string>com.Breakpad.${PRODUCT_NAME:identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>crash_report_sender</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>LSHasLocalizedDisplayName</key>
<true/>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>

View File

@ -1,65 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>Youpp</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeIconFile</key>
<string>icon.icns</string>
<key>CFBundleTypeName</key>
<string>Youpp</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>com.euricainc.ambc.youpp</string>
</array>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>Folder</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>fold</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>None</string>
</dict>
</array>
<key>CFBundleExecutable</key>
<string>node-webkit</string>
<key>CFBundleIconFile</key>
<string>icon.icns</string>
<key>CFBundleIdentifier</key>
<string>com.intel.nw</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Youpp</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.0.1</string>
<key>CFBundleVersion</key>
<string></string>
<key>LSFileQuarantineEnabled</key>
<true/>
<key>LSMinimumSystemVersion</key>
<string>10.6.0</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
<key>SCMRevision</key>
<string>222137</string>
</dict>
</plist>

Binary file not shown.

View File

@ -1 +0,0 @@
APPL????

View File

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

10
build.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
echo "Packaging app..."
nwb nwbuild -p win32,osx64 --win-ico ./src/icon.ico --mac-icns ./src/icon.icns ./src -o ./build
echo "Creating archives..."
cd ./build/Youpp-osx-x64/
zip -r ../Youpp.app.zip Youpp.app
cd ../../
cd ./build/
zip -r Youpp-win.zip ./Youpp-win-ia32/
echo "Done!"

Some files were not shown because too many files have changed in this diff Show More