Skip to content

Commit

Permalink
merge pull request #45 from evogelsa/dev
Browse files Browse the repository at this point in the history
fix rw bot compatibility
  • Loading branch information
evogelsa authored Jul 30, 2024
2 parents 2012820 + c1b8b56 commit 1bea0b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ windows: generate

.PHONY: package-windows
package-windows: windows
sleep 5
cp config/config.json bin/windows/config.json
cp oss-licenses.txt bin/windows/oss-licenses.txt
zip -j windows.zip bin/windows/realweather.exe bin/windows/config.json bin/windows/oss-licenses.txt
Expand All @@ -41,7 +40,6 @@ linux-amd64: generate

.PHONY: package-linux-amd64
package-linux-amd64: linux-amd64
sleep 5
cp config/config.json bin/linux/config.json
cp oss-licenses.txt bin/linux/oss-licenses.txt
$(eval VERSION := $(shell cat versioninfo/version.txt))
Expand All @@ -59,7 +57,6 @@ linux-arm: generate

.PHONY: package-linux-arm
package-linux-arm: linux-arm
sleep 5
cp config/config.json bin/linux/config.json
cp oss-licenses.txt bin/linux/oss-licenses.txt
$(eval VERSION := $(shell cat versioninfo/version.txt))
Expand All @@ -76,7 +73,6 @@ windows-bot: generate

.PHONY: package-windows-bot
package-windows-bot: windows-bot
sleep 5
cp cmd/bot/config/config.json bin/windows/botconfig.json
cp oss-licenses.txt bin/windows/oss-licenses.txt
zip -j windows.zip bin/windows/rwbot.exe bin/windows/botconfig.json bin/windows/oss-licenses.txt
Expand All @@ -95,7 +91,6 @@ linux-amd64-bot: generate

.PHONY: package-linux-amd64-bot
package-linux-amd64-bot: generate
sleep 5
cp cmd/bot/config/config.json bin/linux/botconfig.json
cp oss-licenses.txt bin/linux/oss-licenses.txt
$(eval VERSION := $(shell cat versioninfo/version.txt))
Expand All @@ -113,7 +108,6 @@ linux-arm-bot: generate

.PHONY: package-linux-arm-bot
package-linux-arm-bot: linux-arm-bot
sleep 5
cp cmd/bot/config/config.json bin/linux/botconfig.json
cp oss-licenses.txt bin/linux/oss-licenses.txt
$(eval VERSION := $(shell cat versioninfo/version.txt))
Expand Down
2 changes: 1 addition & 1 deletion cmd/realweather/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func main() {
var metar string
if metar, err = weather.GenerateMETAR(data, config.Get().METAR.Remarks); err == nil {
// make metar last thing to be print
defer log.Println(metar)
defer log.Println("METAR: "+metar)
} else {
log.Printf("Error creating DCS METAR: %v", err)
}
Expand Down

0 comments on commit 1bea0b7

Please sign in to comment.