# ds store

**URL:** https://discourse.cmake.org/t/ds-store/3716
**Category:** Code
**Tags:** os:macos
**Created:** [July 9, 2021, 9:26am UTC](https://discourse.cmake.org/t/ds-store/3716 "2021-07-09T09:26:14Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![alice](https://discourse.cmake.org/user_avatar/discourse.cmake.org/alice/32/1615_2.png) [@alice](https://discourse.cmake.org/u/alice)
#### Post date: [July 9, 2021, 9:26am UTC](https://discourse.cmake.org/t/ds-store/3716/1 "2021-07-09T09:26:14Z")

</div>

How can I open the ds\_store and edit it ?  
I try to open it with text edit but it show the " Budi @@A E…"

By the way, I am using [https://cmake.org/cmake/help/v3.0/module/CPackDMG.html#variable:CPACK\_DMG\_DS\_STORE](https://cmake.org/cmake/help/v3.0/module/CPackDMG.html#variable:CPACK_DMG_DS_STORE)

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [July 9, 2021, 11:55am UTC](https://discourse.cmake.org/t/ds-store/3716/2 "2021-07-09T11:55:29Z")

</div>

These things are a real pain. The only reliable way (AFAIK) to edit them is to have Finder write it by scripting Finder through AppleScript to change the settings for the folder. CMake’s does this by using [this script](https://gitlab.kitware.com/cmake/cmake/-/blob/master/Packaging/CMakeDMGSetup.scpt).

---

<div class="post-metadata">

### Author: ![alice](https://discourse.cmake.org/user_avatar/discourse.cmake.org/alice/32/1615_2.png) [@alice](https://discourse.cmake.org/u/alice)
#### Post date: [July 11, 2021, 3:31am UTC](https://discourse.cmake.org/t/ds-store/3716/3 "2021-07-11T03:31:38Z")

</div>

How to use this script with camke？  
Do you have the sample？

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [July 13, 2021, 2:01pm UTC](https://discourse.cmake.org/t/ds-store/3716/4 "2021-07-13T14:01:07Z")

</div>

Search the CMake repository for the references to that file. I am also in the “just copy paste what has worked before” camp when it comes to AppleScript, so anything I know is discoverable from that at least.

---

<div class="post-metadata">

### Author: ![alice](https://discourse.cmake.org/user_avatar/discourse.cmake.org/alice/32/1615_2.png) [@alice](https://discourse.cmake.org/u/alice)
#### Post date: [July 14, 2021, 1:52am UTC](https://discourse.cmake.org/t/ds-store/3716/5 "2021-07-14T01:52:14Z")

</div>

It is a useful advance.  
Thanks.
