readme
This commit is contained in:
@ -1,12 +0,0 @@
|
|||||||
name: Build Epoch Launcher
|
|
||||||
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: actions/setup-go@v5
|
|
||||||
- run: go build -v ./...
|
|
13
LICENSE
13
LICENSE
@ -0,0 +1,13 @@
|
|||||||
|
Copyright 2025 Evan Burkey <evan@burkey.co>
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
copyright notice and this permission notice appear in all copies.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
18
README.md
18
README.md
@ -0,0 +1,18 @@
|
|||||||
|
# epoch-linux
|
||||||
|
|
||||||
|
Linux updater and launcher for [Project Epoch](https://www.project-epoch.net/)
|
||||||
|
|
||||||
|
## Instructions
|
||||||
|
|
||||||
|
1. Set up a copy of WoW 3.3.5 in a wine prefix or launcher of your choice. Chromiecraft has a good torrent you can use for the 3.3.5 client
|
||||||
|
2. Install `epoch-linux` by either
|
||||||
|
1. Download the latest binary from the [releases](https://git.burkey.co/eburk/epoch-linux/releases) page
|
||||||
|
2. If you have the `go` toolchain installed, you can run `go get git.burkey.co/eburk/epoch-linux@latest` to install to your `$GOROOT`
|
||||||
|
3. Compile the source yourself
|
||||||
|
3. Run `epoch-linux` once. This will create a config file at `$HOME/.config/epoch-linux/config.toml`. Change the `WowDir` variable to your Wow game directory
|
||||||
|
4. Run `epoch-linux` again. It will download the patch files from Epoch's servers to your Wow directory
|
||||||
|
5. Use your launcher or tool of choice to startup Epoch in `wine`
|
||||||
|
|
||||||
|
## Issues
|
||||||
|
|
||||||
|
If you have any issues, [email me](mailto:evan@burkey.co) or ping `Battlehammer` on the Epoch discord
|
15
main.go
15
main.go
@ -3,7 +3,6 @@ package main
|
|||||||
import (
|
import (
|
||||||
"crypto/md5"
|
"crypto/md5"
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"flag"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/BurntSushi/toml"
|
"github.com/BurntSushi/toml"
|
||||||
"io"
|
"io"
|
||||||
@ -64,21 +63,7 @@ func setupConfig() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func printHelp() {
|
|
||||||
fmt.Println("Usage:")
|
|
||||||
fmt.Println(" " + os.Args[0] + "[-hu]")
|
|
||||||
fmt.Println(" " + os.Args[0] + "-h -- prints this help message")
|
|
||||||
}
|
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
helpFlag := flag.Bool("help", false, "Show this printHelp")
|
|
||||||
flag.Parse()
|
|
||||||
|
|
||||||
if *helpFlag {
|
|
||||||
printHelp()
|
|
||||||
os.Exit(0)
|
|
||||||
}
|
|
||||||
|
|
||||||
setupConfig()
|
setupConfig()
|
||||||
|
|
||||||
count, err := downloadUpdate()
|
count, err := downloadUpdate()
|
||||||
|
Reference in New Issue
Block a user