tamga-vdesktop 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/cli.js +24 -10
- package/dist/server.js +23 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
## Özellikler
|
|
6
6
|
|
|
7
7
|
- **%100 Kodla Anlık Masaüstü Kabuğu:** Klasik VNC/RDP gibi bulanık tam ekran görüntü aktarımı yerine; masaüstü, ikonlar, dock, pencere çerçeveleri, Dosya Gezgini, Açık/Koyu tema geçişleri ve özel duvar kağıtları tamamen tarayıcıda 120fps yerli kodla çalışır.
|
|
8
|
-
-
|
|
8
|
+
- **%100 Web-Native VS Code Motoru (`code serve-web`):** Sunucuda kurulu olan resmi VS Code, video akışı veya gecikmeli uzak imleç olmadan doğrudan pencere çerçevemiz içinde %100 yerli DOM hızında (120fps) çalışır.
|
|
9
|
+
- **Sıfır Çift İmleçli, Olay Güdümlü Linux GUI Uygulamaları (`XDamage` + `TurboJPEG` + `XFixes`):** **Firefox**, **Antigravity**, **GIMP**, **VLC** ve diğer Linux X11 uygulamaları yalnızca pikseller değiştiğinde (`XDamage`) `libturbojpeg` ile kodlanır (statikken %0 CPU); X11 imleci görüntüye çizilmez ve imleç şekilleri (`pointer`, `text`, `ew-resize`) doğrudan gerçek işletim sistemi imlecinizle senkronize edilir.
|
|
9
10
|
- **Gerçek Linux Terminali:** Sıfır C++ derleme gerektiren yerleşik PTY köprüsü ile `bash`/`zsh` kabuğu doğrudan sunucunuzda çalışır.
|
|
10
11
|
- **Tek VDS'te Bağımsız Sanal Masaüstleri:** `?desktop=<ad>` üzerinden her biri izole dosya sistemi, tema, duvar kağıdı ve uygulama profiline sahip sınırsız sanal masaüstü.
|
|
11
12
|
- **Animasyonlu Tema & Özel Arka Plan:** Dairesel yayılan Açık ↔ Koyu tema animasyonu, cihazdan veya sanal dosyalardan animasyonlu özel duvar kağıdı seçimi, tam ekran öneri bildirimi.
|
package/dist/cli.js
CHANGED
|
@@ -2386,7 +2386,8 @@ var LinuxAppSession = class {
|
|
|
2386
2386
|
QT_AUTO_SCREEN_SCALE_FACTOR: "0",
|
|
2387
2387
|
MOZ_ENABLE_WAYLAND: "0",
|
|
2388
2388
|
GTK_CSD: "0",
|
|
2389
|
-
NO_AT_BRIDGE: "1"
|
|
2389
|
+
NO_AT_BRIDGE: "1",
|
|
2390
|
+
XCURSOR_THEME: "DMZ-White"
|
|
2390
2391
|
};
|
|
2391
2392
|
this.openboxProc = spawn3("openbox", ["--config-file", obRcPath], {
|
|
2392
2393
|
env: baseEnv,
|
|
@@ -2912,8 +2913,25 @@ var VSCodeServerManager = class {
|
|
|
2912
2913
|
this.starting = (async () => {
|
|
2913
2914
|
const cliDir = path7.join(this.dataDir, "vscode-cli");
|
|
2914
2915
|
const srvDir = path7.join(this.dataDir, "vscode-server");
|
|
2916
|
+
const machineSettingsDir = path7.join(srvDir, "data", "Machine");
|
|
2915
2917
|
fs7.mkdirSync(cliDir, { recursive: true });
|
|
2916
|
-
fs7.mkdirSync(
|
|
2918
|
+
fs7.mkdirSync(machineSettingsDir, { recursive: true });
|
|
2919
|
+
const machineSettingsPath = path7.join(machineSettingsDir, "settings.json");
|
|
2920
|
+
if (!fs7.existsSync(machineSettingsPath)) {
|
|
2921
|
+
fs7.writeFileSync(
|
|
2922
|
+
machineSettingsPath,
|
|
2923
|
+
JSON.stringify(
|
|
2924
|
+
{
|
|
2925
|
+
"security.workspace.trust.enabled": false,
|
|
2926
|
+
"workbench.startupEditor": "none",
|
|
2927
|
+
"workbench.colorTheme": "Default Dark Modern"
|
|
2928
|
+
},
|
|
2929
|
+
null,
|
|
2930
|
+
2
|
|
2931
|
+
),
|
|
2932
|
+
"utf-8"
|
|
2933
|
+
);
|
|
2934
|
+
}
|
|
2917
2935
|
this.ready = false;
|
|
2918
2936
|
this.statusMessage = "VS Code Web motoru ba\u015Flat\u0131l\u0131yor (ilk a\xE7\u0131l\u0131\u015Fta bile\u015Fenler indirilebilir)...";
|
|
2919
2937
|
const proc = spawn4(
|
|
@@ -2999,7 +3017,7 @@ var VSCodeServerManager = class {
|
|
|
2999
3017
|
res.status(503).send("VS Code haz\u0131rlan\u0131yor...");
|
|
3000
3018
|
return;
|
|
3001
3019
|
}
|
|
3002
|
-
const headers = { ...req.headers
|
|
3020
|
+
const headers = { ...req.headers };
|
|
3003
3021
|
const upstream = http.request(
|
|
3004
3022
|
{
|
|
3005
3023
|
host: "127.0.0.1",
|
|
@@ -3032,11 +3050,7 @@ var VSCodeServerManager = class {
|
|
|
3032
3050
|
for (let i = 0; i < req.rawHeaders.length; i += 2) {
|
|
3033
3051
|
const k = req.rawHeaders[i];
|
|
3034
3052
|
const v = req.rawHeaders[i + 1];
|
|
3035
|
-
|
|
3036
|
-
lines.push(`Host: 127.0.0.1:${this.port}`);
|
|
3037
|
-
} else {
|
|
3038
|
-
lines.push(`${k}: ${v}`);
|
|
3039
|
-
}
|
|
3053
|
+
lines.push(`${k}: ${v}`);
|
|
3040
3054
|
}
|
|
3041
3055
|
lines.push("", "");
|
|
3042
3056
|
upstream.write(lines.join("\r\n"));
|
|
@@ -3060,7 +3074,7 @@ var VSCodeServerManager = class {
|
|
|
3060
3074
|
};
|
|
3061
3075
|
|
|
3062
3076
|
// server/index.ts
|
|
3063
|
-
var TAMGA_VERSION = "1.1.
|
|
3077
|
+
var TAMGA_VERSION = "1.1.1";
|
|
3064
3078
|
var MIME_MAP = {
|
|
3065
3079
|
html: "text/html; charset=utf-8",
|
|
3066
3080
|
htm: "text/html; charset=utf-8",
|
|
@@ -4001,7 +4015,7 @@ function cmdSetupLinux(flags) {
|
|
|
4001
4015
|
"set -e",
|
|
4002
4016
|
"export DEBIAN_FRONTEND=noninteractive",
|
|
4003
4017
|
"apt-get update -y",
|
|
4004
|
-
"apt-get install -y --no-install-recommends xvfb openbox ffmpeg libturbojpeg libxdamage1 libxtst6 libx11-6 libxfixes3 libxext6 xclip xdotool wmctrl dbus-x11 x11-utils pulseaudio pulseaudio-utils fonts-dejavu-core fonts-liberation fonts-noto-color-emoji desktop-file-utils hicolor-icon-theme wget gnupg ca-certificates curl"
|
|
4018
|
+
"apt-get install -y --no-install-recommends xvfb openbox ffmpeg libturbojpeg libxdamage1 libxtst6 libx11-6 libxfixes3 libxext6 xclip xdotool wmctrl dbus-x11 x11-utils dmz-cursor-theme pulseaudio pulseaudio-utils fonts-dejavu-core fonts-liberation fonts-noto-color-emoji desktop-file-utils hicolor-icon-theme wget gnupg ca-certificates curl"
|
|
4005
4019
|
];
|
|
4006
4020
|
if (withFirefox) {
|
|
4007
4021
|
parts.push(`
|
package/dist/server.js
CHANGED
|
@@ -2377,7 +2377,8 @@ var LinuxAppSession = class {
|
|
|
2377
2377
|
QT_AUTO_SCREEN_SCALE_FACTOR: "0",
|
|
2378
2378
|
MOZ_ENABLE_WAYLAND: "0",
|
|
2379
2379
|
GTK_CSD: "0",
|
|
2380
|
-
NO_AT_BRIDGE: "1"
|
|
2380
|
+
NO_AT_BRIDGE: "1",
|
|
2381
|
+
XCURSOR_THEME: "DMZ-White"
|
|
2381
2382
|
};
|
|
2382
2383
|
this.openboxProc = spawn3("openbox", ["--config-file", obRcPath], {
|
|
2383
2384
|
env: baseEnv,
|
|
@@ -2903,8 +2904,25 @@ var VSCodeServerManager = class {
|
|
|
2903
2904
|
this.starting = (async () => {
|
|
2904
2905
|
const cliDir = path7.join(this.dataDir, "vscode-cli");
|
|
2905
2906
|
const srvDir = path7.join(this.dataDir, "vscode-server");
|
|
2907
|
+
const machineSettingsDir = path7.join(srvDir, "data", "Machine");
|
|
2906
2908
|
fs7.mkdirSync(cliDir, { recursive: true });
|
|
2907
|
-
fs7.mkdirSync(
|
|
2909
|
+
fs7.mkdirSync(machineSettingsDir, { recursive: true });
|
|
2910
|
+
const machineSettingsPath = path7.join(machineSettingsDir, "settings.json");
|
|
2911
|
+
if (!fs7.existsSync(machineSettingsPath)) {
|
|
2912
|
+
fs7.writeFileSync(
|
|
2913
|
+
machineSettingsPath,
|
|
2914
|
+
JSON.stringify(
|
|
2915
|
+
{
|
|
2916
|
+
"security.workspace.trust.enabled": false,
|
|
2917
|
+
"workbench.startupEditor": "none",
|
|
2918
|
+
"workbench.colorTheme": "Default Dark Modern"
|
|
2919
|
+
},
|
|
2920
|
+
null,
|
|
2921
|
+
2
|
|
2922
|
+
),
|
|
2923
|
+
"utf-8"
|
|
2924
|
+
);
|
|
2925
|
+
}
|
|
2908
2926
|
this.ready = false;
|
|
2909
2927
|
this.statusMessage = "VS Code Web motoru ba\u015Flat\u0131l\u0131yor (ilk a\xE7\u0131l\u0131\u015Fta bile\u015Fenler indirilebilir)...";
|
|
2910
2928
|
const proc = spawn4(
|
|
@@ -2990,7 +3008,7 @@ var VSCodeServerManager = class {
|
|
|
2990
3008
|
res.status(503).send("VS Code haz\u0131rlan\u0131yor...");
|
|
2991
3009
|
return;
|
|
2992
3010
|
}
|
|
2993
|
-
const headers = { ...req.headers
|
|
3011
|
+
const headers = { ...req.headers };
|
|
2994
3012
|
const upstream = http.request(
|
|
2995
3013
|
{
|
|
2996
3014
|
host: "127.0.0.1",
|
|
@@ -3023,11 +3041,7 @@ var VSCodeServerManager = class {
|
|
|
3023
3041
|
for (let i = 0; i < req.rawHeaders.length; i += 2) {
|
|
3024
3042
|
const k = req.rawHeaders[i];
|
|
3025
3043
|
const v = req.rawHeaders[i + 1];
|
|
3026
|
-
|
|
3027
|
-
lines.push(`Host: 127.0.0.1:${this.port}`);
|
|
3028
|
-
} else {
|
|
3029
|
-
lines.push(`${k}: ${v}`);
|
|
3030
|
-
}
|
|
3044
|
+
lines.push(`${k}: ${v}`);
|
|
3031
3045
|
}
|
|
3032
3046
|
lines.push("", "");
|
|
3033
3047
|
upstream.write(lines.join("\r\n"));
|
|
@@ -3051,7 +3065,7 @@ var VSCodeServerManager = class {
|
|
|
3051
3065
|
};
|
|
3052
3066
|
|
|
3053
3067
|
// server/index.ts
|
|
3054
|
-
var TAMGA_VERSION = "1.1.
|
|
3068
|
+
var TAMGA_VERSION = "1.1.1";
|
|
3055
3069
|
var MIME_MAP = {
|
|
3056
3070
|
html: "text/html; charset=utf-8",
|
|
3057
3071
|
htm: "text/html; charset=utf-8",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tamga-vdesktop",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "TamgaVDesktop — Self-hostable Linux Virtual Desktop OS platform with native web shell, real Linux terminal, and seamless native Linux GUI apps (Firefox, VS Code, Antigravity).",
|