Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Floflis/AppPlayer-Electron
Preview Construct 2 apps/games in an Electron prebuilt exe - as if Electron were a normal browser!
https://github.com/Floflis/AppPlayer-Electron
browser construct2 construct3 electron
Last synced: 3 months ago
JSON representation
Preview Construct 2 apps/games in an Electron prebuilt exe - as if Electron were a normal browser!
- Host: GitHub
- URL: https://github.com/Floflis/AppPlayer-Electron
- Owner: Floflis
- Created: 2020-02-06T06:09:53.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-15T16:57:12.000Z (about 1 year ago)
- Last Synced: 2024-01-23T11:07:35.770Z (5 months ago)
- Topics: browser, construct2, construct3, electron
- Language: JavaScript
- Homepage:
- Size: 688 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Lists
- awesome-construct - AppPlayer-Electron - Preview Construct 2 apps/games in an Electron prebuilt exe - as if Electron were a normal browser! Currently Windows only, but soon™ for Mac and Linux (Export)
README
YOU MUST OWN A C2 LICENSE TO USE THIS TOOL. IT IS NOT ALLOWED TO EXPORT GAMES TO DESKTOP WITH THE FREE VERSION.
# AppPlayer - Electron for Construct 2
Preview Construct 2 apps/games in a Electron prebuilt exe - as if Electron were a normal browser!
Latest : [1.9.3](https://github.com/Floflis/AppPlayer-Electron/releases/)
*See also : [Steam plugin for Electron (Work In Progress)](#)*
[DISCORD](https://discord.gg/0eLPLj96B4t3Dpgo)
## Construct 2 preview
* Download and install [ElectronForC2](https://github.com/Floflis/AppPlayer-Electron/releases)
* Add the latest version of the [Construct plugin](https://github.com/C2Electron/template/releases) to your projectEven if you don’t use any Action, Condition or Expressions from the plugin, you **HAVE TO** add it to your project in order to make it work.
* Open Construct 2 > File > Preferences > Preview > Custom Browser
* Set the path to the custom browser to the **electron-prebuilt.exe** file where you installed it previously
* Click OK## Export
* Download the precompiled Electron version of your choice [release page](https://github.com/Floflis/AppPlayer-Electron/releases/).
* Extract the zip containing the Electron precompiled wherever you want. (Ex: **Electron_Folder**)
* Select HTML and export to **Electron_Folder**/ressources/app/www* Run your game by launching **Electron_Folder**/electron-prebuilt.exe
If you have any issue please ask [here](https://github.com/C2Electron/template/issues)
## Build It Yourself (the DIY of apps)
To do a DIY of AppPlayer:
1. Clone this git repo;
2. Inside it open the sorcery/terminal/command prompt;
3. Then type the following 2 commands:### 1:
```sh
npm install
```### 2:
```sh
npm run build
```Done! ❤️
## FAQ
> The page can't load, I have a blank page telling me that I am unathorizedUse **preview on LAN**. Localhost doesn't work.
## Credits
Originally made by [@Armaldio](https://github.com/Armaldio), became legacy, and then was rescued by [@danimesq](https://github.com/danimesq) followed by its original developer, [@Armaldio](https://github.com/Armaldio).