From a97966e47f5dc80cf9e3cfa80b3fb08933777938 Mon Sep 17 00:00:00 2001 From: life Date: Tue, 24 Mar 2015 23:55:51 +0800 Subject: [PATCH] add LICENSE --- LICENSE | 4 ++-- README.md | 22 +++++++++++++++++++++- gulpfile.js | 2 ++ 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index 8544d411..2ed903f2 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ LEANOTE - NOT JUST A NOTEBOOK! -Copyright 2014 by the contributors +Copyright 2015 by the contributors. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -12,7 +12,7 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -leanote is licensed under the GPL v2. +Leanote destop app is licensed under the GPL v2. life(life@leanote.com, lifephp@gmail.com) diff --git a/README.md b/README.md index 6e73032b..6bc24f8b 100644 --- a/README.md +++ b/README.md @@ -25,4 +25,24 @@ $> PATH-TO-NODE-WEBKIT/nw . $> cd PATH-TO-LEANOTE-DESKTOP-APP $> npm install $> gulp -``` \ No newline at end of file +``` + + +## LICENSE +LEANOTE - NOT JUST A NOTEBOOK! + +Copyright 2015 by the contributors. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Leanote destop app is licensed under the GPL v2. + +[LICENSE](https://github.com/leanote/desktop-app/blob/master/LICENSE) \ No newline at end of file diff --git a/gulpfile.js b/gulpfile.js index 2e07ac0e..7c4ddbf1 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -22,6 +22,7 @@ gulp.task('cpMacSrc', function () { // mac gulp.src('src/public/**/*').pipe(gulp.dest('dist/mac/leanote.app/Contents/Resources/app.nw/public')); gulp.src('src/node_modules/**/*').pipe(gulp.dest('dist/mac/leanote.app/Contents/Resources/app.nw/node_modules')); + gulp.src('LICENSE').pipe(gulp.dest('dist/mac/leanote.app/Contents/Resources/app.nw/')); gulp.src('src/data/version').pipe(gulp.dest('dist/mac/leanote.app/Contents/Resources/app.nw/data/')); gulp.src('src/package_mac.json').pipe(rename("package.json")).pipe(gulp.dest('dist/mac/leanote.app/Contents/Resources/app.nw/')); gulp.src(['src/note.html', 'src/login.html']).pipe(gulp.dest('dist/mac/leanote.app/Contents/Resources/app.nw/')); @@ -48,6 +49,7 @@ gulp.task('cpWindowsSrc', function () { // windows gulp.src('src/public/**/*').pipe(gulp.dest('dist/windows/public')); gulp.src('src/node_modules/**/*').pipe(gulp.dest('dist/windows/node_modules')); + gulp.src('LICENSE').pipe(gulp.dest('dist/windows/')); gulp.src('src/data/version').pipe(gulp.dest('dist/windows/data/')); gulp.src('src/package_windows.json').pipe(rename("package.json")).pipe(gulp.dest('dist/windows/')); gulp.src(['src/note.html', 'src/login.html']).pipe(gulp.dest('dist/windows/'));