{titleText[state] || ''}
74 | {#if isWorking.includes(state)} 75 |{@html statusText[state]}
107 | {#if state === 'on'} 108 |├── bin └── .gitkeep ├── tests ├── fixtures │ ├── prebuilt.tar.gz │ ├── basic │ │ ├── web │ │ │ ├── index.php │ │ │ ├── .ht.router.php │ │ │ └── sites │ │ │ │ └── default │ │ │ │ └── default.settings.php │ │ ├── dependencies.json │ │ ├── composer.json │ │ └── assert-settings.php │ ├── composer-always-error.php │ └── composer-install-error.php └── main.spec.ts ├── src ├── renderer │ ├── renderer.ts │ ├── index.html │ └── App.svelte ├── preload │ ├── Drupal.ts │ └── preload.ts └── main │ ├── ComposerCommand.ts │ ├── PhpCommand.ts │ ├── main.ts │ └── Drupal.ts ├── electron.vite.config.js ├── tsconfig.json ├── settings.local.php ├── package.json ├── LICENSE.txt ├── playwright.config.ts ├── .github └── workflows │ ├── test.yml │ ├── build-linux.yml │ ├── build-windows.yml │ └── build-macos.yml ├── icon.svg ├── electron-builder.yml ├── .gitignore ├── LICENSE.php.txt └── README.md /bin/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/prebuilt.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drupal/cms-launcher/HEAD/tests/fixtures/prebuilt.tar.gz -------------------------------------------------------------------------------- /src/renderer/renderer.ts: -------------------------------------------------------------------------------- 1 | import { mount } from 'svelte'; 2 | import App from './App.svelte'; 3 | 4 | mount(App, { target: document.body }); 5 | -------------------------------------------------------------------------------- /tests/fixtures/basic/web/index.php: -------------------------------------------------------------------------------- 1 | 2 |
3 |Running PHP via .
5 | 6 | -------------------------------------------------------------------------------- /src/preload/Drupal.ts: -------------------------------------------------------------------------------- 1 | export interface Drupal 2 | { 3 | start: () => void; 4 | 5 | open: () => void; 6 | 7 | visit: () => void; 8 | 9 | destroy: () => void; 10 | } 11 | -------------------------------------------------------------------------------- /tests/fixtures/basic/web/.ht.router.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |{@html statusText[state]}
107 | {#if state === 'on'} 108 |