fix app title in index and manifest and updating icon sizes
This commit is contained in:
parent
5a0a18ab95
commit
e3d62e27d3
7 changed files with 14 additions and 9 deletions
5
Makefile
5
Makefile
|
@ -49,3 +49,8 @@ ut:
|
||||||
npm run ionic:build
|
npm run ionic:build
|
||||||
rm www/manifest.json
|
rm www/manifest.json
|
||||||
cd ubuntutouch && clickable
|
cd ubuntutouch && clickable
|
||||||
|
|
||||||
|
pwa:
|
||||||
|
npm run ionic:build
|
||||||
|
cp resources/icon-512.png www/assets/icon.png
|
||||||
|
cp -r www ~/opt/Goober
|
||||||
|
|
BIN
resources/icon-128.png
Normal file
BIN
resources/icon-128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
resources/icon-512.png
Normal file
BIN
resources/icon-512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 19 KiB |
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en" dir="ltr">
|
<html lang="en" dir="ltr">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Ionic App</title>
|
<title>Goober</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<meta name="format-detection" content="telephone=no">
|
<meta name="format-detection" content="telephone=no">
|
||||||
<meta name="msapplication-tap-highlight" content="no">
|
<meta name="msapplication-tap-highlight" content="no">
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
<link rel="icon" type="image/x-icon" href="assets/icon/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="assets/icon/favicon.ico">
|
||||||
<link rel="manifest" href="manifest.json">
|
<link rel="manifest" href="manifest.json">
|
||||||
<meta name="theme-color" content="#4e8ef7">
|
<meta name="theme-color" content="#4e8ef7">
|
||||||
|
|
||||||
<!-- cordova.js required for cordova apps -->
|
<!-- cordova.js required for cordova apps -->
|
||||||
<script src="cordova.js"></script>
|
<script src="cordova.js"></script>
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
"name": "Ionic",
|
"name": "Goober",
|
||||||
"short_name": "Ionic",
|
"short_name": "Goober",
|
||||||
"start_url": "index.html",
|
"start_url": "index.html",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"icons": [{
|
"icons": [{
|
||||||
"src": "assets/imgs/logo.png",
|
"src": "assets/icon.png",
|
||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
}],
|
}],
|
||||||
"background_color": "#4e8ef7",
|
"background_color": "#4e8ef7",
|
||||||
"theme_color": "#4e8ef7"
|
"theme_color": "#4e8ef7"
|
||||||
}
|
}
|
||||||
|
|
|
@ -169,19 +169,19 @@ export class NewPostModal {
|
||||||
id: this.raw.length - 1
|
id: this.raw.length - 1
|
||||||
});
|
});
|
||||||
this.showProgress = false;
|
this.showProgress = false;
|
||||||
}).catch((err) => {
|
}).catch((err) => { // fileTransfer
|
||||||
|
|
||||||
this.showProgress = false;
|
this.showProgress = false;
|
||||||
let edata = JSON.parse(err.body);
|
let edata = JSON.parse(err.body);
|
||||||
this.presentToast(edata.meta.error_message);
|
this.presentToast(edata.meta.error_message);
|
||||||
});
|
});
|
||||||
|
|
||||||
}).catch(err => {
|
}).catch(err => { // filePath
|
||||||
console.log('-error getting filepath-');
|
console.log('-error getting filepath-');
|
||||||
console.log(err);
|
console.log(err);
|
||||||
});
|
});
|
||||||
|
|
||||||
}).catch(err => {
|
}).catch(err => { // fileChooser
|
||||||
console.log(err);
|
console.log(err);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Reference in a new issue