Browse Source

chore: update capacitor config and script paths

- Update capacitor.config.json:
  - Change appId from com.brownspank.timesafari to app.timesafari
  - Add server configuration with cleartext enabled
  - Add plugins configuration for App URL handling
- Update script documentation paths:
  - Change ./openssl_signing_console.sh to /scripts/openssl_signing_console.sh
  - Change ./openssl_signing_console.rst to /doc/openssl_signing_console.rst

This change standardizes the app identifier and adds necessary
capacitor configurations for development, while also fixing script
documentation paths to use absolute references.
qrcode-reboot
Matt Raymer 20 hours ago
parent
commit
616a69b7fd
  1. 23
      capacitor.config.json
  2. 2
      doc/openssl_signing_console.rst
  3. 4
      scripts/openssl_signing_console.sh

23
capacitor.config.json

@ -1,6 +1,21 @@
{
"appId": "com.brownspank.timesafari",
"appName": "TimeSafari",
"webDir": "dist",
"bundledWebRuntime": false
"appId": "app.timesafari",
"appName": "TimeSafari",
"webDir": "dist",
"bundledWebRuntime": false,
"server": {
"cleartext": true
},
"plugins": {
"App": {
"appUrlOpen": {
"handlers": [
{
"url": "timesafari://*",
"autoVerify": true
}
]
}
}
}
}

2
openssl_signing_console.rst → doc/openssl_signing_console.rst

@ -1,6 +1,6 @@
JWT Creation & Verification
To run this in a script, see ./openssl_signing_console.sh
To run this in a script, see /scripts/openssl_signing_console.sh
Prerequisites: openssl, jq

4
openssl_signing_console.sh → scripts/openssl_signing_console.sh

@ -4,9 +4,9 @@
#
# Prerequisites: openssl, jq
#
# Usage: source ./openssl_signing_console.sh
# Usage: source /scripts/openssl_signing_console.sh
#
# For a more complete explanation, see ./openssl_signing_console.rst
# For a more complete explanation, see /doc/openssl_signing_console.rst
# Generate a key and extract the public part
Loading…
Cancel
Save