Skip to content

Commit bfface9

Browse files
authored
Update name to gopher64 (#99)
* Update name to gopher64 * fix
1 parent 3637ef4 commit bfface9

File tree

8 files changed

+21
-21
lines changed

8 files changed

+21
-21
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323

2424
- name: Run build script
2525
run: |
26-
CGO_ENABLED=0 GOOS=windows go build -a -o simple64-netplay-server.exe .
27-
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -a -o simple64-netplay-server-arm64 .
28-
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o simple64-netplay-server-amd64 .
26+
CGO_ENABLED=0 GOOS=windows go build -a -o gopher64-netplay-server.exe .
27+
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -a -o gopher64-netplay-server-arm64 .
28+
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o gopher64-netplay-server-amd64 .
2929
3030
- name: Upload folder
3131
uses: actions/upload-artifact@v4
3232
with:
33-
name: simple64-netplay-server
34-
path: simple64-netplay-server*
33+
name: gopher64-netplay-server
34+
path: gopher64-netplay-server*

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
3737
- name: Push main tag
3838
run: |
39-
podman manifest push netplay docker://quay.io/simple64/simple64-netplay-server:${{ github.ref_name }}
39+
podman manifest push netplay docker://quay.io/gopher64/gopher64-netplay-server:${{ github.ref_name }}
4040
4141
- name: Push latest tag
4242
if: ${{ github.event_name == 'release' }}
4343
run: |
44-
podman manifest push netplay docker://quay.io/simple64/simple64-netplay-server:latest
44+
podman manifest push netplay docker://quay.io/gopher64/gopher64-netplay-server:latest

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
# Go workspace file
2121
go.work
2222

23-
simple64-netplay-server
23+
gopher64-netplay-server

Containerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ WORKDIR /workspace
33

44
COPY . .
55
RUN go mod download
6-
RUN CGO_ENABLED=0 go build -a -o simple64-netplay-server .
6+
RUN CGO_ENABLED=0 go build -a -o gopher64-netplay-server .
77

88
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
99
WORKDIR /
1010

11-
COPY --from=builder /workspace/simple64-netplay-server .
11+
COPY --from=builder /workspace/gopher64-netplay-server .
1212

13-
ENTRYPOINT ["/simple64-netplay-server"]
13+
ENTRYPOINT ["/gopher64-netplay-server"]

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
# simple64-netplay-server
1+
# gopher64-netplay-server
22

33
## Supported emulators
4-
* [simple64](https://github.com/simple64/simple64)
5-
* [RMG](https://github.com/Rosalie241/RMG)
64
* [gopher64](https://github.com/gopher64/gopher64)
5+
* [RMG](https://github.com/Rosalie241/RMG)
6+
* [simple64](https://github.com/simple64/simple64)
77

88
## Container
99

1010
```
11-
podman pull quay.io/simple64/simple64-netplay-server:latest
11+
podman pull quay.io/gopher64/gopher64-netplay-server:latest
1212
```
1313

1414
## Running
1515
```
16-
./simple64-netplay-server --name "Server Name"
16+
./gopher64-netplay-server --name "Server Name"
1717
```
1818
## Running with Podman
1919
```
@@ -27,7 +27,7 @@ spec:
2727
hostNetwork: true
2828
containers:
2929
- name: netplay_container
30-
image: quay.io/simple64/simple64-netplay-server:latest
30+
image: quay.io/gopher64/gopher64-netplay-server:latest
3131
args:
3232
- "--name"
3333
- "My Server"

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/simple64/simple64-netplay-server
1+
module github.com/gopher64/gopher64-netplay-server
22

33
go 1.23.0
44

internal/lobbyServer/lobby.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import (
1818
"time"
1919

2020
"github.com/go-logr/logr"
21+
gameserver "github.com/gopher64/gopher64-netplay-server/internal/gameServer"
2122
retryablehttp "github.com/hashicorp/go-retryablehttp"
22-
gameserver "github.com/simple64/simple64-netplay-server/internal/gameServer"
2323
"golang.org/x/net/websocket"
2424
)
2525

@@ -189,7 +189,7 @@ func (s *LobbyServer) publishDiscord(message string, channel string) {
189189
s.Logger.Error(err, "could not create request")
190190
}
191191
httpRequest.Header.Set("Content-Type", "application/json")
192-
httpRequest.Header.Set("User-Agent", "simple64Bot (simple64.github.io, 1)")
192+
httpRequest.Header.Set("User-Agent", "gopher64Bot (gopher64.github.io, 1)")
193193
resp, err := httpClient.Do(httpRequest)
194194
if err != nil {
195195
s.Logger.Error(err, "could not send request")

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"os"
88

99
"github.com/go-logr/zapr"
10-
lobbyserver "github.com/simple64/simple64-netplay-server/internal/lobbyServer"
10+
lobbyserver "github.com/gopher64/gopher64-netplay-server/internal/lobbyServer"
1111
"go.uber.org/zap"
1212
)
1313

0 commit comments

Comments
 (0)