diff --git a/mobile/package.json b/mobile/package.json
index da91704..0dab8d5 100644
--- a/mobile/package.json
+++ b/mobile/package.json
@@ -4,7 +4,7 @@
"description": "kalk mobile",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
- "build": "gulp"
+ "build": "gulp; sh remove-proprietary.sh"
},
"keywords": [
"capacitor",
diff --git a/mobile/remove-proprietary.sh b/mobile/remove-proprietary.sh
index 9573d64..ca43c35 100755
--- a/mobile/remove-proprietary.sh
+++ b/mobile/remove-proprietary.sh
@@ -7,9 +7,9 @@ sed -i '/playServices/d' "$dir/build.gradle"
sed -i '/firebase/d' "$dir/build.gradle"
# remove the files that rely on the proprietary services
-rm "$dir/src/main/java/com/getcapacitor/plugin/Geolocation.java"
-rm "$dir/src/main/java/com/getcapacitor/plugin/PushNotifications.java"
-rm "$dir/src/main/java/com/getcapacitor/CapacitorFirebaseMessagingService.java"
+rm -f "$dir/src/main/java/com/getcapacitor/plugin/Geolocation.java"
+rm -f "$dir/src/main/java/com/getcapacitor/plugin/PushNotifications.java"
+rm -f "$dir/src/main/java/com/getcapacitor/CapacitorFirebaseMessagingService.java"
# remove the references to the plugins in Bridge.java
sed -i '/Geolocation/d' "$dir/src/main/java/com/getcapacitor/Bridge.java"
@@ -19,4 +19,4 @@ sed -i '/PushNotifications/d' "$dir/src/main/java/com/getcapacitor/Bridge.java"
sed -i '/WAKE_LOCK/d' "$dir/src/main/AndroidManifest.xml"
sed -i '/RECEIVE_BOOT_COMPLETED/d' "$dir/src/main/AndroidManifest.xml"
i=$(grep -n "firebase_messaging_auto_init_enabled" "$dir/src/main/AndroidManifest.xml" | cut -d : -f 1)
-sed -i "$i,$(($i+12))d" "$dir/src/main/AndroidManifest.xml"
+sed -i "$i,$(($i+12))d" "$dir/src/main/AndroidManifest.xml" 2> /dev/null
diff --git a/mobile/www/Hack-Regular.ttf b/mobile/www/Hack-Regular.ttf
new file mode 100644
index 0000000..92a90cb
Binary files /dev/null and b/mobile/www/Hack-Regular.ttf differ
diff --git a/mobile/www/index.html b/mobile/www/index.html
index 8c7f495..f380fcf 100644
--- a/mobile/www/index.html
+++ b/mobile/www/index.html
@@ -8,13 +8,6 @@
content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
-
-
-
-
diff --git a/mobile/www/style/style.sass b/mobile/www/style/style.sass
index 7c923ce..51b15bc 100644
--- a/mobile/www/style/style.sass
+++ b/mobile/www/style/style.sass
@@ -1,3 +1,9 @@
+@font-face
+ font-family: "Hack"
+ src: url("../Hack-Regular.ttf") format("truetype")
+ font-weight: normal
+ font-style: normal
+
body
width: 100%
height: 100%