Skip to content

Commit 3944515

Browse files
authored
Merge pull request #73 from bajrangCoder/v3.1.8
Update V3.1.8
2 parents 8068198 + ce84502 commit 3944515

17 files changed

+3472
-2374
lines changed

.vscode/pack-zip.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,22 @@ zip
3131
function loadFile(root, folder) {
3232
const distFiles = fs.readdirSync(folder);
3333
distFiles.forEach((file) => {
34+
const filePath = path.join(folder, file);
35+
const stat = fs.statSync(filePath);
3436

35-
const stat = fs.statSync(path.join(folder, file));
37+
// Skip AcodeX.zip
38+
if (file === 'AcodeX.zip') {
39+
return;
40+
}
3641

3742
if (stat.isDirectory()) {
3843
zip.folder(file);
39-
loadFile(path.join(root, file), path.join(folder, file));
44+
loadFile(path.join(root, file), filePath);
4045
return;
4146
}
4247

4348
if (!/LICENSE.txt/.test(file)) {
44-
zip.file(path.join(root, file), fs.readFileSync(path.join(folder, file)));
49+
zip.file(path.join(root, file), fs.readFileSync(filePath));
4550
}
4651
});
4752
}

ChangeLog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Logs
22

3+
## `Update v3.1.7`
4+
5+
- Fixed settings not saving issue (First backup your settings before updating)
6+
- Added a new settings to control `letterSpacing`
7+
- Some improvement to fallback font
8+
39
## `Update v3.1.6`
410
- Image rendering support
511
- Option to hide maximise terminal button

dist/main.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.js

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

installServer.sh

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
function install_packages {
44
if ! [ -x "$(command -v node)" ]; then
5-
echo -e "\e[1;36m[*] Installing Nodejs\e[0m"
5+
echo -e "\e[1;36m[*] Installing Node.js\e[0m"
66
pkg install nodejs -y
77
fi
88
if ! [ -x "$(command -v python)" ]; then
@@ -24,3 +24,15 @@ install_packages
2424
echo -e "\e[1;36m[*] Installing acodeX-server... \e[0m"
2525
npm install -g acodex-server
2626
echo -e '\e[1;32m`acodeX-server` installed successfully. Run `acodeX-server` to start the server. \e[0m'
27+
28+
# Final GUI prompt after installation completes
29+
echo -e "\e[1;36mDo you want to install GUI-related packages to run gui apps in acodex? (y/n)\e[0m"
30+
read -r gui_response_acodex
31+
if [[ "$gui_response_acodex" =~ ^[Yy]$ ]]; then
32+
echo -e "\e[1;36m[*] Installing GUI-related packages for acodeX-server...\e[0m"
33+
pkg install tigervnc -y
34+
curl -L https://raw.githubusercontent.com/bajrangCoder/websockify_rs/main/install.sh | bash
35+
echo -e "\e[1;32mGUI packages for acodeX-server installed successfully. Run vncserver command and setup password to get started\e[0m"
36+
else
37+
echo -e "\e[1;33mSkipping GUI installation for acodeX-server. You can install it later if needed.\e[0m"
38+
fi

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
22
"name": "acode-plugin-acodex",
3-
"version": "3.1.6",
3+
"version": "3.1.8",
44
"description": "Terminal support for Acode",
55
"main": "dist/main.js",
66
"repository": "https://github.com/bajrangCoder/acode-plugin-terminal.git",
77
"author": "Raunak Raj <bajrangcoders@gmail.com>",
88
"license": "MIT",
99
"dependencies": {
10+
"@novnc/novnc": "^1.5.0",
1011
"@xterm/addon-attach": "0.10.0-beta.1",
1112
"@xterm/addon-fit": "0.9.0-beta.1",
1213
"@xterm/addon-image": "^0.8.0",
@@ -15,7 +16,8 @@
1516
"@xterm/addon-web-links": "0.10.0-beta.1",
1617
"@xterm/addon-webgl": "0.17.0-beta.1",
1718
"@xterm/xterm": "^5.5.0",
18-
"html-tag-js": "^1.7.1"
19+
"html-tag-js": "^1.7.1",
20+
"ollama": "^0.5.9"
1921
},
2022
"devDependencies": {
2123
"esbuild": "^0.19.12",

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "bajrangcoder.acodex",
33
"name": "AcodeX - Terminal",
44
"main": "dist/main.js",
5-
"version": "3.1.7",
5+
"version": "3.1.8",
66
"readme": "readme.md",
77
"icon": "icon.png",
88
"files": [],

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)