An electron application that is capable of launching games on our PlayStation that we created for EXPO 2020.
- Presentation slides - Project presentation slides.
- Presentation video - Video showcase of the project.
# Clone the repository
$ git clone https://github.com/kirillovmr/raspi-launcher.git
# Go into the repository
$ cd raspi-launcher
# Install dependencies
$ npm install
Just run this command to start developing with hot reloading.
$ npm start
- JSX support for React.
- CSS modules support.
- JS, CSS and assets automatic bundling.
- Hot reloading via Webpack 4.
βββ electron-react-webpack/ # Your project's name, you can rename it
βββ app/
βββ build/ # Webpack 4 will manage this folder for you
βββ bundle.css # Bundled CSS
βββ bundle.js # Bundled JS
βββ ... # Your images will be copied here
βββ src/
βββ assets/ # Images
βββ electron.png
βββ react.png
βββ webpack.png
βββ components/ # React Components
βββ Link/ # To keep them modularized follow this structure:
βββ index.jsx # Your component's React code
βββ styles.css # Your component's scoped CSS
βββ Logo/
βββ index.jsx
βββ styles.css
βββ App.jsx # React main component where everything is tied up
βββ renderer_process.js # Electron's renderer-process, where you React app is called.
βββ global.css # Global CSS and global constants go here
βββ index.html # This HTML only uses build/ folder's files
βββ main.js # Electron's configuration. Whole app is launched from here
βββ package.json
βββ webpack.config.js # Webpack 4 setup