From 1613e78eff62eeed7e459be843feabe7122ae0fb Mon Sep 17 00:00:00 2001 From: NAmorim Date: Tue, 23 Nov 2021 01:05:18 +0000 Subject: [PATCH] [Distribution] Enable User Profile Commit --- Platform/Client/httpInterface.js | 10 ++++++++-- build/electron-builder.json | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Platform/Client/httpInterface.js b/Platform/Client/httpInterface.js index 2d901f6e8c..d58c871519 100644 --- a/Platform/Client/httpInterface.js +++ b/Platform/Client/httpInterface.js @@ -1353,8 +1353,14 @@ exports.newHttpInterface = function newHttpInterface() { const repo = 'Superalgos' const owner = 'Superalgos' const head = username + ':' + contributionsBranch - const base = currentBranch - const title = 'Contribution: ' + mess + //const base = currentBranch + let base = undefined + if(process.env.SA_MODE === 'gitDisable') { + base = 'develop' + } else { + base = currentBranch + } + const title = 'Governance: ' + mess const path = 'Projects/Governance/Plugins/User-Profiles/' + username + '.json'; const sha = await getSHA(path); diff --git a/build/electron-builder.json b/build/electron-builder.json index 9624635e90..778a63aced 100644 --- a/build/electron-builder.json +++ b/build/electron-builder.json @@ -2,6 +2,7 @@ "appId": "org.superalgos.platform", "productName": "Superalgos", "asar": true, + "asarUnpack": "**/Projects/Governance/Plugins/User-Profiles/*", "generateUpdatesFilesForAllChannels": true, "files": [ "**/*",