From e7fe3f10f012c96fbe89a16eecf3a6add12b4c7c Mon Sep 17 00:00:00 2001 From: m1ga Date: Tue, 1 Oct 2024 20:17:58 +0200 Subject: [PATCH] just for testing --- Alloy/tiapp.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Alloy/tiapp.js b/Alloy/tiapp.js index 0f15181e6..b874dae83 100644 --- a/Alloy/tiapp.js +++ b/Alloy/tiapp.js @@ -44,7 +44,8 @@ function getSdkSelectVersion() { var homeDir = process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'], file = path.join(homeDir, '.titanium', 'config.json'); if (!fs.existsSync(file)) { - U.die('Titanium configuration file does not exist at "' + file + '"'); + //U.die('Titanium configuration file does not exist at "' + file + '"'); + return "" } var ticonfig = JSON.parse(fs.readFileSync(file, {encoding: 'utf8'})); return ticonfig.sdk.selected;