Updated README.md
This commit is contained in:
@@ -1,19 +1,33 @@
|
|||||||
# README
|
|
||||||
|
|
||||||
## About
|
# Canvas Launcher
|
||||||
|
|
||||||
This is the official Wails Vue-TS template.
|
A custom Minecraft launcher designed as a Technic replacement. This launcher is designed to be reskinned by each modpack installed.
|
||||||
|
|
||||||
You can configure the project by editing `wails.json`. More information about the project settings can be found
|
Modpacks can be added via zip files, the Technic platform, or the complimentary project Palette.
|
||||||
here: https://wails.io/docs/reference/project-config
|
## Installation
|
||||||
|
|
||||||
|
To start developing you'll need Go and NodeJS + NPM installed. Afterwards you'll need to install Wails. Wails requires additional system libraries. `wails doctor` scans your system for the libraries required.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
||||||
|
wails doctor
|
||||||
|
```
|
||||||
|
|
||||||
|
After you have a functioning Wails installation, just clone the launcher.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone https://git.bigduckie.dev/big-duckie/canvas-launcher.git
|
||||||
|
cd canvas-launcher
|
||||||
|
```
|
||||||
|
|
||||||
## Live Development
|
## Live Development
|
||||||
|
To run the live development mode, run `wails dev`.
|
||||||
|
|
||||||
To run in live development mode, run `wails dev` in the project directory. This will run a Vite development
|
This sets up a Vite development server that provides hot reloads for the frontend. It also provides a backend dev server on `http://localhost:34115`. This allows you to call Go code from your browser's devtools.
|
||||||
server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser
|
## Deployment
|
||||||
and have access to your Go methods, there is also a dev server that runs on http://localhost:34115. Connect
|
|
||||||
to this in your browser, and you can call your Go code from devtools.
|
|
||||||
|
|
||||||
## Building
|
To build this project for binary redistribution, ensure you're on your target platform. Wails *does not* reliably support cross-compilation because it relies on C binaries.
|
||||||
|
|
||||||
To build a redistributable, production mode package, use `wails build`.
|
```bash
|
||||||
|
wails build
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user