Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@ yarn-error.log
.pnp.js
# Yarn Integrity file
.yarn-integrity
android/
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,19 @@ minigame for the web as a way to learn HTML, CSS and JavaScript.
I developed this using Google Chrome to check my progress, and as a result am
unsure how it runs in other browsers. If you experience problems running this
please leave a report in the issues tab. I am by no means an expert web developer
and am absolutely open to any feedback about my creation. Have fun and enjoy!
and am absolutely open to any feedback about my creation. Have fun and enjoy!


# Voltorbflip with capacitor to run on android

To build:
1. Terminal on project root:
1. yarn
2. npx cap add android
3. npx cap sync
4. npx cap update android
5. npx cap copy android
6. npx cap open android
2. With the android studio opened
1. Go to build and generate APKs
2. Download and install on your device
14 changes: 14 additions & 0 deletions capacitor.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"appId": "com.example.app",
"appName": "Voltorb flip",
"bundledWebRuntime": false,
"npmClient": "yarn",
"webDir": "public",
"plugins": {
"SplashScreen": {
"launchShowDuration": 0
}
},
"cordova": {},
"linuxAndroidStudioPath": "/snap/bin/android-studio"
}
5 changes: 5 additions & 0 deletions ionic.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "voltorbflip",
"integrations": {},
"type": "custom"
}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"version": "1.0.0",
"author": "WBCG <[email protected]>",
"dependencies": {
"@capacitor/android": "^2.4.7",
"@capacitor/cli": "^2.4.7",
"@capacitor/core": "^2.4.7",
"chance": "^1.0.18",
"classnames": "^2.2.6",
"countup.js": "^2.0.4",
Expand Down
Loading