Skip to content

Commit

Permalink
Launcher: Set by default Config.IsolateProfiles to false and mark as …
Browse files Browse the repository at this point in the history
…experimental. Closes #14.
  • Loading branch information
luskaner committed Aug 11, 2024
1 parent 89ee665 commit c8793f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion launcher/internal/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func Execute() error {
rootCmd.PersistentFlags().StringP("canTrustCertificate", "c", "local", `Trust the certificate of the server if needed. "false", "user" or "local" (will require admin privileges)`)
rootCmd.PersistentFlags().StringP("canBroadcastBattleServer", "b", "auto", `Whether or not to broadcast the game BattleServer to all interfaces in LAN (not just the most priority one)`)
rootCmd.PersistentFlags().BoolP("isolateMetadata", "m", true, "Isolate the metadata cache of the game, otherwise, it will be shared.")
rootCmd.PersistentFlags().BoolP("isolateProfiles", "p", true, "Isolate the users profile of the game, otherwise, it will be shared.")
rootCmd.PersistentFlags().BoolP("isolateProfiles", "p", false, "(Experimental) Isolate the users profile of the game, otherwise, it will be shared.")
rootCmd.PersistentFlags().StringP("serverStart", "a", "auto", `Start the server if needed, "auto" will start a server if one is not already running, "true" (will start a server regardless if one is already running), "false" (will require an already running server).`)
rootCmd.PersistentFlags().StringP("serverStop", "o", "auto", `Stop the server if started, "auto" will stop the server if one was started, "false" (will not stop the server regardless if one was started), "true" (will not stop the server even if it was started).`)
rootCmd.PersistentFlags().StringSliceP("serverAnnouncePorts", "n", []string{strconv.Itoa(common.AnnouncePort)}, `Announce ports to listen to. If not including the default port, default configured servers will not get discovered.`)
Expand Down
4 changes: 2 additions & 2 deletions launcher/resources/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ CanTrustCertificate = local
CanBroadcastBattleServer = auto
# If true, the launcher will isolate the metadata cache of the game, if false, it will be shared
IsolateMetadata = true
# If true, the launcher will isolate the user profiles of the game, if false, it will be shared
IsolateProfiles = true
# (Experimental) If true, the launcher will isolate the user profiles of the game, if false, it will be shared
IsolateProfiles = false

[Server]
# Whether to start the server automatically or 'auto', which will start the server is no server is found in the LAN
Expand Down

0 comments on commit c8793f9

Please sign in to comment.