acode - update, use fastlane

This commit is contained in:
Licaon_Kter 2023-08-29 07:21:39 +00:00
parent abfc275ef8
commit 231a8fee64

View file

@ -9,24 +9,6 @@ IssueTracker: https://github.com/deadlyjack/Acode/issues
Changelog: https://github.com/deadlyjack/Acode/blob/HEAD/updates.txt
AutoName: Acode
Description: |-
A powerful code editor for android. Edit like a pro.
<b>Why Acode?</b>
* Edit remote files (FTP/Github).
* Edit files from your internal/external storage.
* Supports maximum number of lines.
* Supports syntax highlighting for 100+ programming languages.
* Manage you files and folder very easily.
* Run or preview you web applications.
* Preview includes inbuilt interactive js console.
* Keyboard shortcuts.
* Customizable.
* Open any file with any application.
* Updated frequenlty.
* Fast bugs fixes.
* And it is open source.
RepoType: git
Repo: https://github.com/deadlyjack/Acode.git
@ -578,6 +560,41 @@ Builds:
- node_modules/jszip/.jekyll-metadata
build: cordova compile android --release -- --packageType=apk
- versionName: 1.8.6
versionCode: 312
commit: bfa0769fe09eca34349ff6c34d41d2a1974efab9
sudo:
- sysctl fs.inotify.max_user_watches=524288 || true
- chmod -R 777 /opt/android-sdk
- curl -Lo node.tar.gz https://nodejs.org/dist/v18.17.1/node-v18.17.1-linux-x64.tar.gz
- echo "2cb75f2bc04b0a3498733fbee779b2f76fe3f655188b4ac69ef2887b6721da2d node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g npm@latest
- npm install -g cordova yarn
output: platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk
rm:
- src/pages/donate
- src/plugins/iap
prebuild:
- sed -i -e '/iap/d' package.json
- sed -i -e '/iap.startConnection/,/Purchase error/c} catch (e) {' src/lib/main.js
- sed -i -e '/Donate/d' src/settings/mainSettings.js
- sed -i -e 's/acodefree/acode/' utils/config.js
- sed -i -e 's/build/prepare/' utils/scripts/build.sh
- sed -i -e '/core-google-shortcuts/d' src/plugins/system/plugin.xml
- yarn setup
- cordova plugin add cordova-plugin-file
- cordova platform add android
- rm node_modules/cordova-android/framework/cordova-publish.gradle
- yarn build android free p
- sdkmanager 'build-tools;31.0.0' 'build-tools;30.0.3'
- cp $$SDK$$/build-tools/30.0.3/lib/dx.jar $$SDK$$/build-tools/31.0.0/lib/dx.jar
- cp $$SDK$$/build-tools/30.0.3/dx $$SDK$$/build-tools/31.0.0/dx
scandelete:
- node_modules/jszip/.jekyll-metadata
build: cordova compile android --release -- --packageType=apk
AutoUpdateMode: None
UpdateCheckMode: HTTP
UpdateCheckData: https://raw.githubusercontent.com/deadlyjack/Acode/main/config.xml|android-versionCode="(\d+)"|.|version="([\d.]+)"