mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-04 20:51:49 +02:00
Compare commits
3 commits
d743595040
...
4014c8591b
Author | SHA1 | Date | |
---|---|---|---|
![]() |
4014c8591b | ||
![]() |
6cd706af10 | ||
![]() |
634b171b97 |
2 changed files with 25 additions and 4 deletions
|
@ -12,7 +12,20 @@ You will be required to open a terminal and follow these steps:
|
||||||
|
|
||||||
## On macOS
|
## On macOS
|
||||||
|
|
||||||
To set the container runtime to podman, use this command:
|
You will need to configure podman to access the shared Dangerzone resources:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
podman machine stop
|
||||||
|
podman machine rm
|
||||||
|
cat > ~/.config/containers/containers.conf <<EOF
|
||||||
|
[machine]
|
||||||
|
volumes = ["/Users:/Users", "/private:/private", "/var/folders:/var/folders", "/Applications/Dangerzone.app:/Applications/Dangerzone.app"]
|
||||||
|
EOF
|
||||||
|
podman machine init
|
||||||
|
podman machine set --rootful=false
|
||||||
|
podman machine start
|
||||||
|
```
|
||||||
|
Then, set the container runtime to podman using this command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
/Applications/Dangerzone.app/Contents/MacOS/dangerzone-cli --set-container-runtime podman
|
/Applications/Dangerzone.app/Contents/MacOS/dangerzone-cli --set-container-runtime podman
|
||||||
|
|
|
@ -193,7 +193,7 @@ def main():
|
||||||
Path="C:\\Program Files (x86)\\Dangerzone",
|
Path="C:\\Program Files (x86)\\Dangerzone",
|
||||||
)
|
)
|
||||||
ET.SubElement(directory_search_el, "FileSearch", Name="dangerzone.exe")
|
ET.SubElement(directory_search_el, "FileSearch", Name="dangerzone.exe")
|
||||||
registry_search_el = ET.SubElement(package_el, "Property", Id="DANGERZONE080FOUND")
|
registry_search_el = ET.SubElement(package_el, "Property", Id="DANGERZONE08FOUND")
|
||||||
ET.SubElement(
|
ET.SubElement(
|
||||||
registry_search_el,
|
registry_search_el,
|
||||||
"RegistrySearch",
|
"RegistrySearch",
|
||||||
|
@ -202,11 +202,19 @@ def main():
|
||||||
Name="DisplayName",
|
Name="DisplayName",
|
||||||
Type="raw",
|
Type="raw",
|
||||||
)
|
)
|
||||||
|
ET.SubElement(
|
||||||
|
registry_search_el,
|
||||||
|
"RegistrySearch",
|
||||||
|
Root="HKLM",
|
||||||
|
Key="SOFTWARE\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{8AAC0808-3556-4164-9D15-6EC1FB673AB2}",
|
||||||
|
Name="DisplayName",
|
||||||
|
Type="raw",
|
||||||
|
)
|
||||||
ET.SubElement(
|
ET.SubElement(
|
||||||
package_el,
|
package_el,
|
||||||
"Launch",
|
"Launch",
|
||||||
Condition="NOT OLDDANGERZONEFOUND AND NOT DANGERZONE080FOUND",
|
Condition="NOT OLDDANGERZONEFOUND AND NOT DANGERZONE08FOUND",
|
||||||
Message="A previous version of [ProductName] is already installed. Please uninstall it from Programs and Features before proceeding with the installation.",
|
Message='A previous version of [ProductName] is already installed. Please uninstall it from "Apps & Features" before proceeding with the installation.',
|
||||||
)
|
)
|
||||||
|
|
||||||
# Add the ProgramMenuFolder StandardDirectory
|
# Add the ProgramMenuFolder StandardDirectory
|
||||||
|
|
Loading…
Reference in a new issue