diff --git a/Makefile b/Makefile index 0e73321..29d9a0b 100644 --- a/Makefile +++ b/Makefile @@ -35,11 +35,14 @@ $(APK): $(ALIGNED) release: $(APK) -clean: androidclean +clean: androidclean wwwclean androidclean: cd platforms/android && ./gradlew clean +wwwclean: + rm -r www + distclean: rm -r node_modules platforms plugins www @@ -53,6 +56,5 @@ ut: cd ubuntutouch && clickable pwa: - npm run ionic:build - cp resources/icon-512.png www/assets/icon.png + ionic build --prod cp -r www ~/opt/Goober diff --git a/src/assets/icon/icon.png b/src/assets/icon/icon.png new file mode 100644 index 0000000..4d582dd Binary files /dev/null and b/src/assets/icon/icon.png differ diff --git a/src/pages/login/login.ts b/src/pages/login/login.ts index 0bebda9..831f709 100644 --- a/src/pages/login/login.ts +++ b/src/pages/login/login.ts @@ -58,13 +58,13 @@ export class LoginPage { login() { this.oauth.logInVia(this.pnutProvider).then(success => { - console.log('RESULT: ' + JSON.stringify(success)); + // console.log('OAUTH SUCCESS: ' + JSON.stringify(success)); this.storage.set('token', success['access_token']); this.storage.set('scope', this.scope); pnut.token = success['access_token']; this.navCtrl.setRoot(StreamPage, {stream: 'personal'}); }, error => { - console.log(error); + // console.log('OAUTH ERROR: ' + JSON.stringify(error)); if (this.oob) { this.showToken = true; }