Skip to content

Commit c53a941

Browse files
authored
Merge branch 'main' into ai-agent
2 parents 0ec7f37 + 8060441 commit c53a941

File tree

12 files changed

+315
-107
lines changed

12 files changed

+315
-107
lines changed

package-lock.json

Lines changed: 10 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"cordova-sqlite-storage": {},
3939
"cordova-plugin-websocket": {},
40-
"com.foxdebug.acode.exec": {},
40+
"com.foxdebug.acode.rk.exec.terminal": {},
4141
"cordova-plugin-buildinfo": {}
4242
},
4343
"platforms": [
@@ -64,7 +64,7 @@
6464
"@types/url-parse": "^1.4.11",
6565
"autoprefixer": "^10.4.19",
6666
"babel-loader": "^9.1.3",
67-
"com.foxdebug.acode.exec": "file:src/plugins/Executor",
67+
"com.foxdebug.acode.rk.exec.terminal": "file:src/plugins/terminal",
6868
"cordova-android": "^13.0.0",
6969
"cordova-clipboard": "^1.3.0",
7070
"cordova-plugin-advanced-http": "^3.3.1",

src/plugins/Executor/package.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/plugins/Executor/plugin.xml

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/plugins/Executor/src/android/Executor.java

Lines changed: 0 additions & 77 deletions
This file was deleted.

src/plugins/Executor/www/Executor.js

Lines changed: 0 additions & 5 deletions
This file was deleted.
5.87 KB
Binary file not shown.
5.55 KB
Binary file not shown.

src/plugins/terminal/package.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "com.foxdebug.acode.rk.exec.terminal",
3+
"version": "1.0.0",
4+
"description": "Terminal stuff",
5+
"cordova": {
6+
"id": "com.foxdebug.acode.rk.exec.terminal",
7+
"platforms": [
8+
"android"
9+
]
10+
},
11+
"keywords": [
12+
"ecosystem:cordova",
13+
"cordova-android"
14+
],
15+
"author": "@RohitKushvaha01",
16+
"license": "MIT"
17+
}

src/plugins/terminal/plugin.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="com.foxdebug.acode.rk.exec.terminal" version="1.0.0">
3+
<name>Terminal</name>
4+
5+
<!-- executor api -->
6+
<js-module name="Executor" src="www/Executor.js">
7+
<clobbers target="cordova.plugins.Executor" />
8+
</js-module>
9+
10+
11+
<platform name="android">
12+
<config-file parent="/*" target="res/xml/config.xml">
13+
<feature name="Terminal">
14+
<param name="android-package" value="com.foxdebug.acode.rk.exec.terminal" />
15+
</feature>
16+
</config-file>
17+
<config-file parent="/*" target="AndroidManifest.xml" />
18+
<source-file src="src/android/Executor.java" target-dir="src/com/foxdebug/acode/rk/exec/terminal" />
19+
20+
<!-- Use flavors if F-Droid complains about native libs -->
21+
<source-file src="libs/proot-aarch64.so" target-dir="libs/arm64-v8a" />
22+
<source-file src="libs/proot-arm.so" target-dir="libs/armeabi-v7a" />
23+
24+
</platform>
25+
</plugin>

0 commit comments

Comments
 (0)