-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example for a policy extension point
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"ForceGoogleSafeSearch": true | ||
} |
18 changes: 18 additions & 0 deletions
18
examples/policies/google-safe-search/org.chromium.Chromium.Policy.google-safe-search.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
app-id: org.chromium.Chromium.Policy.google-safe-search | ||
# This should match the extension point version | ||
branch: '1' | ||
runtime: org.chromium.Chromium | ||
runtime-version: 'stable' | ||
sdk: org.freedesktop.Sdk//20.08 | ||
build-extension: true | ||
appstream-compose: false | ||
|
||
modules: | ||
- name: policy | ||
buildsystem: simple | ||
build-commands: | ||
- mkdir -p ${FLATPAK_DEST}/policies/managed | ||
- install -Dm 644 google-safe-search.json ${FLATPAK_DEST}/policies/managed | ||
sources: | ||
- type: file | ||
path: google-safe-search.json |