mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
Generate macOS configuration profiles (#241773)
* generate configuration policy and manifests * add darwin pipeline job * argument for per-platform generation of policy * adopt argument in pipeline * formatting tweaks in generated profile (+ check in .js file) * tidy up output plists * copy policy definitions * implement the remaining renderProfileValue() * remove unnecessary platform option * copy to .app in vscode-darwin-$PLATFORM-min-ci gulp task * add darwinProfileUUID and darwinProfilePayloadUUID to product.json * better way to package in gulp script * bump distro commit (c3ec5ba485) * Add bundles policy paths to macOS universal build 'filesToSkip' Needs this when creating universal macOS app: Expected all non-binary files to have identical SHAs when creating a universal build but "Contents/Resources/app/policies/cs-cz/com.microsoft.VSCodeInsiders.plist" did not See:298a872f5f/src/index.ts (L163-L172)
This commit is contained in:
@@ -28,6 +28,7 @@ async function main(buildDir?: string) {
|
||||
const filesToSkip = [
|
||||
'**/CodeResources',
|
||||
'**/Credits.rtf',
|
||||
'**/policies/{*.mobileconfig,**/*.plist}',
|
||||
// TODO: Should we consider expanding this to other files in this area?
|
||||
'**/node_modules/@parcel/node-addon-api/nothing.target.mk'
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user