mirror of
https://github.com/mayswind/AriaNg.git
synced 2026-02-09 02:49:26 +08:00
bump version to 1.2.3, remove application cache support
This commit is contained in:
@@ -34,7 +34,7 @@ AriaNg is a modern web frontend making [aria2](https://github.com/aria2/aria2) e
|
||||

|
||||
|
||||
## Installation
|
||||
AriaNg now provides three versions, standard version, all-in-one version and [AriaNg Native](https://github.com/mayswind/AriaNg-Native). Standard version is suitable for deployment in the web server, and provides resource caching and on-demand loading. All-In-One version is suitable for local using, and you can download it and just open the only html file in browser. [AriaNg Native](https://github.com/mayswind/AriaNg-Native) is also suitable for local using, and is no need for browser.
|
||||
AriaNg now provides three versions, standard version, all-in-one version and [AriaNg Native](https://github.com/mayswind/AriaNg-Native). Standard version is suitable for deployment in the web server, and provides on-demand loading. All-In-One version is suitable for local using, and you can download it and just open the only html file in browser. [AriaNg Native](https://github.com/mayswind/AriaNg-Native) is also suitable for local using, and is no need for browser.
|
||||
|
||||
#### Prebuilt release
|
||||
Latest Release: [https://github.com/mayswind/AriaNg/releases](https://github.com/mayswind/AriaNg/releases)
|
||||
|
||||
21
gulpfile.js
21
gulpfile.js
@@ -154,25 +154,6 @@ gulp.task('process-assets-bundle', ['prepare-fonts', 'prepare-langs', 'prepare-h
|
||||
.pipe(gulp.dest('dist'));
|
||||
});
|
||||
|
||||
gulp.task('process-manifest', function () {
|
||||
return gulp.src([
|
||||
'dist/css/**',
|
||||
'dist/js/**',
|
||||
'dist/fonts/fontawesome-webfont.woff2',
|
||||
'dist/*.html',
|
||||
'dist/*.ico',
|
||||
'dist/*.png'
|
||||
], {base: 'dist/'})
|
||||
.pipe($.manifest({
|
||||
hash: true,
|
||||
preferOnline: true,
|
||||
network: ['*'],
|
||||
filename: 'index.manifest',
|
||||
exclude: 'index.manifest'
|
||||
}))
|
||||
.pipe(gulp.dest('dist'));
|
||||
});
|
||||
|
||||
gulp.task('process-full-extras', function () {
|
||||
return gulp.src([
|
||||
'LICENSE',
|
||||
@@ -195,7 +176,7 @@ gulp.task('info', function () {
|
||||
]).pipe($.size({title: 'build', gzip: true}));
|
||||
});
|
||||
|
||||
gulp.task('build', $.sequence('lint', 'process-fonts', 'process-langs', 'process-assets', 'process-manifest', 'process-full-extras', 'info'));
|
||||
gulp.task('build', $.sequence('lint', 'process-fonts', 'process-langs', 'process-assets', 'process-full-extras', 'info'));
|
||||
|
||||
gulp.task('build-bundle', $.sequence('lint', 'process-assets-bundle', 'process-tiny-extras', 'info'));
|
||||
|
||||
|
||||
715
package-lock.json
generated
715
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -52,7 +52,6 @@
|
||||
"gulp-if": "^2.0.2",
|
||||
"gulp-inject-version": "^1.0.1",
|
||||
"gulp-load-plugins": "^1.6.0",
|
||||
"gulp-manifest": "^0.1.1",
|
||||
"gulp-plumber": "^1.2.1",
|
||||
"gulp-replace": "^1.0.0",
|
||||
"gulp-rev": "^9.0.0",
|
||||
@@ -72,7 +71,7 @@
|
||||
},
|
||||
"name": "ariang",
|
||||
"description": "AriaNg, a modern web frontend making aria2 easier to use.",
|
||||
"version": "1.2.2",
|
||||
"version": "1.2.3",
|
||||
"main": "index.html",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 0",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html ng-app="ariaNg" manifest="index.manifest">
|
||||
<html ng-app="ariaNg">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
|
||||
|
||||
Reference in New Issue
Block a user