|
|
@@ -50,16 +50,34 @@ yarn start:electron
|
|
|
|
|
|
The language extension is intentionally a VS Code-compatible extension because Theia recommends VS Code extensions for language support. Native Theia extensions are used for product-specific workbench features.
|
|
|
|
|
|
-## Release packaging (AppImage)
|
|
|
+## Release packaging (AppImage + Debian package)
|
|
|
|
|
|
-The Electron app packages to a self-contained AppImage with everything
|
|
|
-except the compiler toolchain (see host prerequisites below):
|
|
|
+The Electron app packages to a self-contained AppImage and a Debian
|
|
|
+package with everything except the compiler toolchain (see host
|
|
|
+prerequisites below):
|
|
|
|
|
|
```bash
|
|
|
cd apps/electron
|
|
|
-yarn package # production bundle + plugin staging + AppImage in dist/
|
|
|
+yarn package # production bundle + plugin staging + dist/*.AppImage, dist/*.deb
|
|
|
```
|
|
|
|
|
|
+This runs `bundle:prod` (native rebuild + production esbuild), stages the
|
|
|
+`modula2-language` plugin with its runtime dependencies into
|
|
|
+`apps/electron/plugins/`, and builds the artifacts via electron-builder.
|
|
|
+The packaged launcher (`electron-launcher.js`) points the backend at the
|
|
|
+bundled plugins through the `THEIA_PLUGINS` environment variable, so no
|
|
|
+`--plugins` flag is needed.
|
|
|
+
|
|
|
+Debian users install with:
|
|
|
+
|
|
|
+```bash
|
|
|
+sudo apt install ./modula2-ide-electron_0.15.0_amd64.deb
|
|
|
+```
|
|
|
+
|
|
|
+then launch `Modula-2 IDE` from the applications menu (Development
|
|
|
+section). The package ships its icon and desktop entry; uninstall with
|
|
|
+`sudo apt remove modula2-ide-electron`.
|
|
|
+
|
|
|
This runs `bundle:prod` (native rebuild + production esbuild), stages the
|
|
|
`modula2-language` plugin with its runtime dependencies into
|
|
|
`apps/electron/plugins/`, and builds
|