Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Composer/packages/electron-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@types/rimraf": "^2.0.2",
"cross-env": "7.0.3",
"electron": "14.2.6",
"electron-builder": "^22.6.0",
"electron-builder": "^23.6.0",
"globby": "^11.0.1",
"js-yaml": "^3.13.1",
"mock-fs": "^4.10.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.disable-executable-page-protection</key>
<true/>
<key>keychain-access-groups</key>
<array>
<string>UBF8T346G9.com.microsoft.identity.universalstorage</string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.disable-executable-page-protection</key>
<true/>
</dict>
</plist>
12 changes: 7 additions & 5 deletions Composer/packages/electron-server/scripts/common.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

/** Hashes a file asynchronously */
const path = require('path');
const fsp = require('fs-extra');
const yaml = require('js-yaml');
const fs = require('fs');
const crypto = require('crypto');

const fsp = require('fs-extra');
const yaml = require('js-yaml');

const packageJson = require('../package.json');

async function writeToDist(err, files, fileName) {
Expand All @@ -26,7 +28,7 @@ async function writeToDist(err, files, fileName) {
path: releaseFileName,
sha512,
};
const ymlStr = yaml.safeDump(ymlInfo);
const ymlStr = yaml.dump(ymlInfo);
const ymlPath = path.join(__dirname, `../dist/${fileName}`);
fsp.writeFileSync(ymlPath, ymlStr);
}
Expand Down
Loading