**Electron application based on dpwhittaker's RoC Launcher and Tyclo's Adaptation **
All graphics are either property of SWG Awakening or their respective authors. Consult before use
Launcher background by Fantasio
The SWG Awakening Launcher includes a new user friendly interface, a guided set up process, patching for multiple login servers and Linux/macOS compatibility. Also included are many other miscellaneous tweaks, improvements and new features.
To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:
# Clone this repository
git clone https://github.com/CycloneAwakening/SWGAwakening
# Go into the repository
cd SWGAwakening
# Install dependencies
npm install
# Run the app
npm run-script start
Note: If you're using Linux Bash for Windows, see this guide or use node
from the command prompt.
Commands for building can be found in package.json
under scripts
. Argument of -p always
will publish the build as a release to your repository.
- Create a Personal Access Token
- In Windows, set an Environmental variable in PowerShell with the following command, replacing "YOUR_TOKEN" with the token you generated above:
[Environment]::SetEnvironmentVariable("GH_TOKEN","YOUR_TOKEN","User")
- You may need to restart after running this. npm run-script deploy-win
- Build applications and publish draft to release of your application's repo.
npm run-script build-win
- Build applications and publish draft to release of your applications repo.- Inside of the
/dist
directory should an executable with your application.
npm pack
- Pack the applications- Linux:
npm run-script build-linux
- Build applications and publish draft to release of your applications repo. - macOS:
npm run-script build-mac
- Build applications and publish draft to release of your applications repo. - Inside of the
/dist
directory should a package containing your application. Some limitations apply when packaging on a platform that cannot execute the package. (You can only make a macOS .dmg on macOS)
package.json
- Points to the app's main file and lists its details and dependencies.main.js
- Starts the app and creates a browser window to render HTML. This is the app's main process.index.html
- A web page to render. This is the app's renderer process.renderer.js
- Handles users interaction with the application.install.js
- Handles the patching process.md5.js
- Checks md5 of files for patching./setup
- Directory containing files for guided setup process.
- electron.atom.io/docs - all of Electron's documentation
- electron.atom.io/community/#boilerplates - sample starter apps created by the community
- electron/electron-quick-start - a very basic starter Electron app
- electron/simple-samples - small applications with ideas for taking them further
- electron/electron-api-demos - an Electron app that teaches you how to use Electron
- hokein/electron-sample-apps - small demo apps for the various Electron APIs