From 31c276b577be44dac03f586fdb486bf029c6b863 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Mon, 29 Apr 2019 12:31:51 -0700 Subject: [PATCH 1/6] fix apple ios icon. add gitignore --- .gitignore | 1 + ui/src/index.html | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..485dee64b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea diff --git a/ui/src/index.html b/ui/src/index.html index efa5b9695..21d2445c1 100644 --- a/ui/src/index.html +++ b/ui/src/index.html @@ -5,6 +5,8 @@ + + Lemmy From 1c43852ef8deff4fd6da023e202e879162ce18ef Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Mon, 29 Apr 2019 13:43:26 -0700 Subject: [PATCH 2/6] add apple-touch-icon --- ui/fuse.js | 1 + ui/src/index.html | 13 +++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ui/fuse.js b/ui/fuse.js index 0fdf9a428..2eb3b15c8 100644 --- a/ui/fuse.js +++ b/ui/fuse.js @@ -46,6 +46,7 @@ Sparky.task('config', _ => { Sparky.task('clean', _ => Sparky.src('dist/').clean('dist/')); Sparky.task('env', _ => (isProduction = true)); Sparky.task('copy-assets', () => Sparky.src('assets/*.svg').dest('dist/')); +Sparky.task('copy-assets', () => Sparky.src('assets/*.png').dest('dist/')); Sparky.task('dev', ['clean', 'config', 'copy-assets'], _ => { fuse.dev(); app.hmr().watch(); diff --git a/ui/src/index.html b/ui/src/index.html index 21d2445c1..3f64c9a5d 100644 --- a/ui/src/index.html +++ b/ui/src/index.html @@ -5,12 +5,21 @@ - + - Lemmy + Dofollow Links - Upvotocracy + + + From d9c2204b3d3f1a9af3be4b2232d37d2f32f180f0 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Mon, 29 Apr 2019 13:53:07 -0700 Subject: [PATCH 3/6] remove changes --- ui/src/index.html | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ui/src/index.html b/ui/src/index.html index 3f64c9a5d..4aaa86b5a 100644 --- a/ui/src/index.html +++ b/ui/src/index.html @@ -8,18 +8,9 @@ - Dofollow Links - Upvotocracy + Lemmy - - - From b90c5cd92e989bb7b8209394ebc3be7e92b1079f Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Mon, 29 Apr 2019 17:17:49 -0700 Subject: [PATCH 5/6] use wildcards for fuse --- ui/fuse.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/fuse.js b/ui/fuse.js index 2eb3b15c8..26ea7da75 100644 --- a/ui/fuse.js +++ b/ui/fuse.js @@ -45,8 +45,7 @@ Sparky.task('config', _ => { // Sparky.task('version', _ => setVersion()); Sparky.task('clean', _ => Sparky.src('dist/').clean('dist/')); Sparky.task('env', _ => (isProduction = true)); -Sparky.task('copy-assets', () => Sparky.src('assets/*.svg').dest('dist/')); -Sparky.task('copy-assets', () => Sparky.src('assets/*.png').dest('dist/')); +Sparky.task('copy-assets', () => Sparky.src('assets/*.*').dest('dist/')); Sparky.task('dev', ['clean', 'config', 'copy-assets'], _ => { fuse.dev(); app.hmr().watch();