From 40d722ff7db6a26f92e10548dc8af2a080da88cc 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 a034839fdf990166c49fc834d8bde07c8f41766d 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 38457d9bc178f82d2645a15cadfcf5d49f3e097b 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 4d25d989cea556cfd9198ec7ba0b1a9974ffd324 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();