Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
Fix env handling in ./dev run-desktop-mainnet command
Browse files Browse the repository at this point in the history
  • Loading branch information
burdiyan authored and horacioh committed Jan 11, 2024
1 parent 645748f commit 16d7b25
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dev
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,9 @@ def main():
run("yarn workspace @mintter/ui generate")
run("plz build //backend:mintterd //:yarn")

testnet_var = "MINTTER_P2P_TESTNET_NAME"
if testnet_var not in os.environ:
os.environ[testnet_var] = "dev"
os.environ.pop("MINTTER_P2P_TESTNET_NAME", None)

return run("MINTTER_P2P_TESTNET_NAME='' yarn desktop", args=args)
return run("yarn desktop", args=args)

@cmd(cmds, "build-desktop", "Builds the desktop app for the current platform.")
def build_desktop(args):
Expand Down

0 comments on commit 16d7b25

Please sign in to comment.