Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate macOS configuration profiles #241773

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Conversation

joshspicer
Copy link
Member

@joshspicer joshspicer commented Feb 24, 2025

ref: #148942

Generates a sample .mobileconfig profile, similar to how the ADMX file is generated for Windows.

Also generates localized files following this specification to aid in producing customized .mobileconfig profiles.

Some builds available for testing:

VS Code Build: 8a79659927ce575840afe126da70638ca8247054

darwin: https://vscode.download.prss.microsoft.com/dbazure/download/insider/8a79659927ce575840afe126da70638ca8247054/VSCode-darwin.zip
darwin-arm64: https://vscode.download.prss.microsoft.com/dbazure/download/insider/8a79659927ce575840afe126da70638ca8247054/VSCode-darwin-arm64.zip
win32-arm64-archive: https://vscode.download.prss.microsoft.com/dbazure/download/insider/8a79659927ce575840afe126da70638ca8247054/VSCode-win32-arm64-1.99.0-insider.zip
win32-x64-archive: https://vscode.download.prss.microsoft.com/dbazure/download/insider/8a79659927ce575840afe126da70638ca8247054/VSCode-win32-x64-1.99.0-insider.zip

@joshspicer joshspicer force-pushed the joshspicer/mac-policy branch 2 times, most recently from bc4f211 to 96349ad Compare March 5, 2025 22:30
function renderMacOSPolicy(policies: Policy[], translations: Translations) {
const appName = product.nameLong;
const bundleIdentifier = product.darwinBundleIdentifier;
const payloadUUID = '9F957DE8-6596-4CD6-A54E-D3A20F2B1C37';
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't matter what these GUIDs are, they just need to be the same across releases (so we should not change them once we ship)

@joshspicer joshspicer force-pushed the joshspicer/mac-policy branch from 1be0e22 to 2d50475 Compare March 10, 2025 23:49
@joshspicer joshspicer changed the title Adopt mac policy support Generate macOS configuration profiles Mar 11, 2025
@joshspicer joshspicer force-pushed the joshspicer/mac-policy branch from 14a87d1 to 4ea0884 Compare March 11, 2025 00:43
@joshspicer joshspicer requested a review from sandy081 March 11, 2025 01:46
@joshspicer joshspicer force-pushed the joshspicer/mac-policy branch from 4ea0884 to 8a79659 Compare March 11, 2025 01:56
@joshspicer joshspicer marked this pull request as ready for review March 11, 2025 02:08
@vs-code-engineering vs-code-engineering bot added this to the March 2025 milestone Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant