Compare commits

..
1 Commits
Author SHA1 Message Date
Shane Clark fa3a06de63 Commit of Wails boilerplate code. 2024-11-29 11:25:24 -07:00
+11 -25
View File
@@ -1,33 +1,19 @@
# README
# Canvas Launcher ## About
A custom Minecraft launcher designed as a Technic replacement. This launcher is designed to be reskinned by each modpack installed. This is the official Wails Vue-TS template.
Modpacks can be added via zip files, the Technic platform, or the complimentary project Palette. You can configure the project by editing `wails.json`. More information about the project settings can be found
## Installation here: https://wails.io/docs/reference/project-config
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`.
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. To run in live development mode, run `wails dev` in the project directory. This will run a Vite development
## Deployment server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser
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.
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. ## Building
```bash To build a redistributable, production mode package, use `wails build`.
wails build
```