diff --git a/Makefile b/Makefile index fe694e4..94c50e1 100644 --- a/Makefile +++ b/Makefile @@ -49,3 +49,8 @@ ut: npm run ionic:build rm www/manifest.json cd ubuntutouch && clickable + +pwa: + npm run ionic:build + cp resources/icon-512.png www/assets/icon.png + cp -r www ~/opt/Goober diff --git a/resources/icon-128.png b/resources/icon-128.png new file mode 100644 index 0000000..4d08b31 Binary files /dev/null and b/resources/icon-128.png differ diff --git a/resources/icon-512.png b/resources/icon-512.png new file mode 100644 index 0000000..4d582dd Binary files /dev/null and b/resources/icon-512.png differ diff --git a/src/assets/icon/favicon.ico b/src/assets/icon/favicon.ico index d76fa29..b92483c 100644 Binary files a/src/assets/icon/favicon.ico and b/src/assets/icon/favicon.ico differ diff --git a/src/index.html b/src/index.html index 737396a..5118ab1 100644 --- a/src/index.html +++ b/src/index.html @@ -2,7 +2,7 @@ - Ionic App + Goober @@ -10,7 +10,7 @@ - + diff --git a/src/manifest.json b/src/manifest.json index f6456bb..bca323f 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,13 +1,13 @@ { - "name": "Ionic", - "short_name": "Ionic", + "name": "Goober", + "short_name": "Goober", "start_url": "index.html", "display": "standalone", "icons": [{ - "src": "assets/imgs/logo.png", + "src": "assets/icon.png", "sizes": "512x512", "type": "image/png" }], "background_color": "#4e8ef7", "theme_color": "#4e8ef7" -} \ No newline at end of file +} diff --git a/src/pages/stream/new-post.ts b/src/pages/stream/new-post.ts index 7dd847c..9aa8055 100644 --- a/src/pages/stream/new-post.ts +++ b/src/pages/stream/new-post.ts @@ -169,19 +169,19 @@ export class NewPostModal { id: this.raw.length - 1 }); this.showProgress = false; - }).catch((err) => { + }).catch((err) => { // fileTransfer this.showProgress = false; let edata = JSON.parse(err.body); this.presentToast(edata.meta.error_message); }); - }).catch(err => { + }).catch(err => { // filePath console.log('-error getting filepath-'); console.log(err); }); - }).catch(err => { + }).catch(err => { // fileChooser console.log(err); });