upstream: integrar Oasis 1.3.1
Base del merge a tres bandas: git 0.9.5 de epsylon, esta rama y el src de la
APK oficial 1.3.1 (la variante movil: OASIS_MOBILE, regex sin \p{}, audio y
video de Android). Corre en el mismo nodejs-mobile 18.20.4 que ya usabamos.
Se conserva de la rama: Karvan, identidades y multicuenta, topbar y barra
inferior, borrado de EXIF sin sharp, filtro hot del foro, RTC sin STUN y los
modulos apagados en movil (wallet, banking, torrents).
Se toma de upstream lo que ya hace de serie: respuesta citada en chats, ssb-lan
en movil, configuracion en ~/.ssb/oasis (sobrevive a reinstalar el backend).
El asistente de bienvenida deja elegir workflow tambien en movil.
This commit is contained in:
parent
8d838dd8b1
commit
c332afd6ea
265 changed files with 80970 additions and 29167 deletions
7
main.js
7
main.js
|
|
@ -8,6 +8,13 @@ process.env.CHLORIDE_JS = '1';
|
|||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
|
||||
try {
|
||||
const androidInfo = JSON.parse(fs.readFileSync(path.join(__dirname, '.android.json'), 'utf8'));
|
||||
if (androidInfo.versionName) process.env.OASIS_ANDROID_VERSION = String(androidInfo.versionName);
|
||||
if (androidInfo.versionCode) process.env.OASIS_ANDROID_VERSION_CODE = String(androidInfo.versionCode);
|
||||
process.env.OASIS_ANDROID_INSTALLER = String(androidInfo.installer || '');
|
||||
} catch (e) {}
|
||||
|
||||
const tmpDir = path.join(process.env.HOME, 'tmp');
|
||||
try { fs.mkdirSync(tmpDir, { recursive: true }); } catch (e) {}
|
||||
process.env.TMPDIR = tmpDir;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue