From f550677afc84ee947dca73ce6e1a80d2f1244b12 Mon Sep 17 00:00:00 2001 From: problematicconsumer Date: Mon, 4 Dec 2023 17:50:09 +0330 Subject: [PATCH] Fix build --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 333c0284..6371a1aa 100644 --- a/Makefile +++ b/Makefile @@ -15,12 +15,11 @@ CORE_URL=https://github.com/hiddify/hiddify-next-core/releases/download/draft endif ifeq ($(CHANNEL),prod) -FLAVOR=prod +TARGET=lib/main_prod.dart else -FLAVOR=dev +TARGET=lib/main.dart endif -TARGET=lib/main_$(FLAVOR).dart BUILD_ARGS=--dart-define sentry_dsn=$(SENTRY_DSN) DISTRIBUTOR_ARGS=--skip-clean --build-target $(TARGET) --build-dart-define sentry_dsn=$(SENTRY_DSN)