Hmm doesn't seem to work reliably. The debug windows shows the value, the app not. (yep have also included 'after create executable'To set something other than a string, you can use XML notation like this
Code:
;@@ <key>CFBundleTypeExtensions</key>
;@@ <array>
;@@ <string>ext</string>
;@@ </array>
plistTool for OS X
Re: plistTool for OS X
The xml notation doesn't seem to work anymore in Majove.
Re: plistTool for OS X
Unfortunately my MacBook can not go any higher than High Sierra. I'm unable to update this tool now.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
Re: plistTool for OS X
I just tried and it worked fine (macOS 10.14.6, PB 5.71 x64).Rinzwind wrote:The debug windows shows the value, the app not. (yep have also included 'after create executable'
The plistTool app did show the current value.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: plistTool for OS X
Just for info: seems like the plist is not always updated correctly (or missing values) when recompiling even if the preview shows the correct result. It seems to help to disable the debug window with ;@@ DisableDebugWindow . Maybe some file is still in use or something.
Also can't make the array stuff work..
;@@ DisableDebugWindow
;@@ LSApplicationCategoryType = public.app-category.utilities
;@@ CFBundleDevelopmentRegion = English
;@@ CFBundleExecutable = t1
;@@ NSHumanReadableCopyright = copyright
;@@ CFBundleIdentifier = nl.test.t1
;@@ CFBundleName = t1
;@@ CFBundleShortVersionString = 1.0.0
;@@ <key>CFBundleTypeExtensions</key>
;@@ <array>
;@@ <string>t1</string>
;@@ </array>
MessageRequester("Test", "Test")
CFBundleTypeExtensions is not added to the plist in the .app.
Also can't make the array stuff work..
;@@ DisableDebugWindow
;@@ LSApplicationCategoryType = public.app-category.utilities
;@@ CFBundleDevelopmentRegion = English
;@@ CFBundleExecutable = t1
;@@ NSHumanReadableCopyright = copyright
;@@ CFBundleIdentifier = nl.test.t1
;@@ CFBundleName = t1
;@@ CFBundleShortVersionString = 1.0.0
;@@ <key>CFBundleTypeExtensions</key>
;@@ <array>
;@@ <string>t1</string>
;@@ </array>
MessageRequester("Test", "Test")
CFBundleTypeExtensions is not added to the plist in the .app.
Re: plistTool for OS X
Another plist utility. Moved to its own topic...
viewtopic.php?f=12&t=74209
viewtopic.php?f=12&t=74209
Re: plistTool for OS X
How can I copy resources to a subfolder with this tool?
I tried to add all resources from a subfolder, like:
But the tool seems to copy all content of Addons just to the root resources folder, but I would like it to be in Resources/Addons afterwards.
Is there any (hidden) option to respect the folder structure?
I tried to add all resources from a subfolder, like:
Code: Select all
;@R Addons/
Is there any (hidden) option to respect the folder structure?
{Home}.:|:.{Dialog Design0R}.:|:.{Codes}.:|:.{Downloads}.:|:.{History Viewer Online}
Re: plistTool for OS X
One should already take the folder structure of the APP as it is intended.
This means "MyAPP.APP/Contents/Resources". Everything that contains additional files to be read can be placed in this folder (including subfolders).
Settings of programmes then in the folder "GetUserDirectory(#PB_Directory_ProgramData)".
I then always create a folder called "Company/Application" in this folder.
Copy on fly. PB IDE Tool MyAppData
This means "MyAPP.APP/Contents/Resources". Everything that contains additional files to be read can be placed in this folder (including subfolders).
Settings of programmes then in the folder "GetUserDirectory(#PB_Directory_ProgramData)".
I then always create a folder called "Company/Application" in this folder.
Copy on fly. PB IDE Tool MyAppData
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: plistTool for OS X
Hello J. Baker,
any there any news for the plistTool on Majove and higher?
macOS Catalina 10.15.7
Re: plistTool for OS X
I have now written my own. It is more flexible.
https://www.purebasic.fr/english/viewto ... 585319#top
https://www.purebasic.fr/english/viewto ... 585319#top
macOS Catalina 10.15.7
Re: plistTool for OS X
Sorry for the delay. I've been using Windows and have not upgraded or purchased a new Mac.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.