Skip to content

Commit f82b34b

Browse files
committed
Rename to Flashpoint Game Server
1 parent 092440e commit f82b34b

6 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/nexus.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
env:
2626
GOOS: "windows"
2727
GOARCH: "386"
28-
run: go build -o "Flashpoint Proxy.exe" .
28+
run: go build -o "Flashpoint Game Server.exe" .
2929
- name: Package
30-
run: zip Server.zip "./Flashpoint Proxy.exe" ./proxySettings.json ./fpproxy.crt ./fpproxy.key
30+
run: zip Server.zip "./Flashpoint Game Server.exe" ./proxySettings.json ./fpGameServerCA.crt ./fpGameServerCA.key
3131
- name: Generate Metadata
3232
run: |
3333
sudo apt install libarchive-zip-perl -y

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
main.exe
33
fpproxy.csr
44
Flashpoint Proxy.exe
5+
Flashpoint Game Server.exe
56
fpProxy.exe
File renamed without changes.
File renamed without changes.

gen-ca.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
openssl ecparam -out fpproxy.key -name prime256v1 -genkey
2-
openssl req -new -sha256 -key fpproxy.key -out fpproxy.csr
3-
openssl x509 -req -sha256 -days 36500 -in fpproxy.csr -signkey fpproxy.key -out fpproxy.crt
1+
openssl ecparam -out fpGameServerCA.key -name prime256v1 -genkey
2+
openssl req -new -sha256 -key fpGameServerCA.key -out fpGameServerCA.csr
3+
openssl x509 -req -sha256 -days 36500 -in fpGameServerCA.csr -signkey fpGameServerCA.key -out fpGameServerCA.crt

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ func handleRequest(r *http.Request, ctx *goproxy.ProxyCtx) (*http.Request, *http
248248
func main() {
249249
// To create CA cert, refer to https://wiki.mozilla.org/SecurityEngineering/x509Certs#Self_Signed_Certs
250250
// Replace CA in GoProxy
251-
certFile := "fpproxy.crt"
252-
keyFile := "fpproxy.key"
251+
certFile := "fpGameServerCA.crt"
252+
keyFile := "fpGameServerCA.key"
253253

254254
cert, err := tls.LoadX509KeyPair(certFile, keyFile)
255255
if err != nil {

0 commit comments

Comments
 (0)