Skip to content

Commit a95f48c

Browse files
committed
Add startup and exit logs
1 parent a3f2acc commit a95f48c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ var (
4848
)
4949

5050
func main() {
51+
slog.Info("starting Satisfactory Mod Manager", slog.Any("version", version), slog.Any("commit", commit), slog.Any("date", date))
5152
// Set user agent for http requests from backend
5253
// We cannot set the frontend's user agent, because wails does not expose that,
5354
// but it does append wails.io to determine which asset requests come from inside the app, and which are external
@@ -234,6 +235,8 @@ func main() {
234235
_ = dialog.Error("Failed to restart: %s", err.Error())
235236
}
236237
}
238+
239+
slog.Info("exiting Satisfactory Mod Manager")
237240
}
238241

239242
func init() {

0 commit comments

Comments
 (0)