MOBILE-3565 config: Remove desktop from config

main
Pau Ferrer Ocaña 2020-11-06 09:42:45 +01:00
parent 9d11179649
commit d906c39e0b
2 changed files with 5 additions and 7 deletions

View File

@ -9,7 +9,6 @@
{ {
"app_id": "com.moodle.moodlemobile", "app_id": "com.moodle.moodlemobile",
"appname": "Moodle Mobile", "appname": "Moodle Mobile",
"desktopappname": "Moodle Desktop",
"versioncode": 3930, "versioncode": 3930,
// @todo This could be read from package.json. // @todo This could be read from package.json.
@ -113,9 +112,6 @@
"ioswebviewscheme": "moodleappfs", "ioswebviewscheme": "moodleappfs",
"appstores": { "appstores": {
"android": "com.moodle.moodlemobile", "android": "com.moodle.moodlemobile",
"ios": "id633359593", "ios": "id633359593"
"windows": "moodle-desktop\/9p9bwvhdc8c8",
"mac": "id1255924440",
"linux": "https:\/\/download.moodle.org\/desktop\/download.php?platform=linux&arch=64"
} }
} }

View File

@ -94,9 +94,11 @@ export class AppComponent implements OnInit {
parts[1] = parts[1] || '0'; parts[1] = parts[1] || '0';
parts[2] = parts[2] || '0'; parts[2] = parts[2] || '0';
document.body.classList.add('version-' + parts[0], document.body.classList.add(
'version-' + parts[0],
'version-' + parts[0] + '-' + parts[1], 'version-' + parts[0] + '-' + parts[1],
'version-' + parts[0] + '-' + parts[1] + '-' + parts[2]); 'version-' + parts[0] + '-' + parts[1] + '-' + parts[2],
);
} }
/** /**