| 1 |
/* ************************************************************************ */ |
| 2 |
/* */ |
| 3 |
/* This file is part of Frama-C. */ |
| 4 |
/* */ |
| 5 |
/* Copyright (C) 2007-2022 */ |
| 6 |
/* CEA (Commissariat à l'énergie atomique et aux énergies */ |
| 7 |
/* alternatives) */ |
| 8 |
/* */ |
| 9 |
/* you can redistribute it and/or modify it under the terms of the GNU */ |
| 10 |
/* Lesser General Public License as published by the Free Software */ |
| 11 |
/* Foundation, version 2.1. */ |
| 12 |
/* */ |
| 13 |
/* It is distributed in the hope that it will be useful, */ |
| 14 |
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ |
| 15 |
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ |
| 16 |
/* GNU Lesser General Public License for more details. */ |
| 17 |
/* */ |
| 18 |
/* See the GNU Lesser General Public License version 2.1 */ |
| 19 |
/* for more details (enclosed in the file licenses/LGPLv2.1). */ |
| 20 |
/* */ |
| 21 |
/* ************************************************************************ */ |
| 22 |
|
| 23 |
// -------------------------------------------------------------------------- |
| 24 |
// --- Electron main-process entry-point for Dome. |
| 25 |
// -------------------------------------------------------------------------- |
| 26 |
|
| 27 |
/* |
| 28 |
Template of ./src/main/index.js |
| 29 |
Imported from $(DOME)/template/main.js |
| 30 |
|
| 31 |
The call to Dome.start() will initialize the Dome application |
| 32 |
and create the main window that will run the renderer process |
| 33 |
from `src/renderer/index.js`. |
| 34 |
|
| 35 |
You may add your own code to be run in the Electron main-process |
| 36 |
before or after the call to `Dome.start()`. |
| 37 |
*/ |
| 38 |
|
| 39 |
import * as Dome from 'dome' ; |
| 40 |
Dome.setName('Ivette'); |
| 41 |
Dome.start(); |