From a25978cf6fc08d3aad5fafd6eadb4898125b8419 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Sun, 14 May 2023 16:03:12 -0400 Subject: [PATCH] No longer using the macOS config path. --- app/js/aether_app_native_v4.js | 3 ++- index.js | 3 ++- package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/js/aether_app_native_v4.js b/app/js/aether_app_native_v4.js index a53bc62..ae9c392 100644 --- a/app/js/aether_app_native_v4.js +++ b/app/js/aether_app_native_v4.js @@ -66,7 +66,8 @@ exports.load_init_config = function () { // Set the config path for macOS or Linux if (os.platform == 'darwin') { - config_directory = path.join(home_directory, 'Library/Application Support/OSIT'); + // config_directory = path.join(home_directory, 'Library/Application Support/OSIT'); + config_directory = path.join(home_directory, 'OSIT/native_app'); console.log('macOS config directory: '+config_directory); } else if (os.platform == 'linux') { config_directory = path.join(home_directory, '.config/OSIT'); diff --git a/index.js b/index.js index f9b26ab..6319404 100644 --- a/index.js +++ b/index.js @@ -22,7 +22,8 @@ console.log('Temporary: '+tmp_directory); // Set the config path for macOS or Linux let config_directory = null; if (os.platform == 'darwin') { - config_directory = path.join(home_directory, 'Library/Application Support/OSIT'); + // config_directory = path.join(home_directory, 'Library/Application Support/OSIT'); + config_directory = path.join(home_directory, 'OSIT/native_app'); console.log('macOS config directory: '+config_directory); } else if (os.platform == 'linux') { config_directory = path.join(home_directory, '.config/OSIT'); diff --git a/package.json b/package.json index aae5b04..193340c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "aether_app_native", "productName": "Aether App: Native", - "version": "2023.5.14", + "version": "2023.5.14.2", "description": "One Sky IT's Native Aether App", "main": "index.js", "scripts": {