add LICENSE

This commit is contained in:
life
2015-03-24 23:55:51 +08:00
parent 37edc86527
commit a97966e47f
3 changed files with 25 additions and 3 deletions

View File

@@ -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)

View File

@@ -25,4 +25,24 @@ $> PATH-TO-NODE-WEBKIT/nw .
$> cd PATH-TO-LEANOTE-DESKTOP-APP
$> npm install
$> gulp
```
```
## 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)

View File

@@ -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/'));