macOS Versions of My Radio Apps (beta)

A place for you to show off what you have made with LiveCode

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
LG73
Posts: 36
Joined: Fri Jun 05, 2009 8:25 am
Location: Vancouver, BC, Canada
Contact:

macOS Versions of My Radio Apps (beta)

Post by LG73 » Sun Apr 07, 2024 6:14 pm

I've been working on macOS versions of my two published LiveCode apps, Cinque Ports Radio and UHD Radio. They have resizable windows, dark theme support, and retain window size and position (and on the UHD Radio app, bit-rate selection) between launches using SQLite.

So far I've not had success with notarizing the apps. No problem signing the apps and the installer packages. Anyone who wants to give them a try will need to right-click on the installer package, then select Open from the contextual menu to bypass macOS warnings re: apps that have not been notarized. Also currently no built-in check for updates feature but that's a planned addition.

Here's where to find them: https://www.emmers.ca/__macOS/
Cheers,

Phil
LG73 - Vancouver's Hit Music Mix!
http://www.LG73.ca/

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9397
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: macOS Versions of My Radio Apps (beta)

Post by richmond62 » Sun Apr 07, 2024 7:20 pm

dark theme support
Ooh: Do tell. 8)

LG73
Posts: 36
Joined: Fri Jun 05, 2009 8:25 am
Location: Vancouver, BC, Canada
Contact:

Re: macOS Versions of My Radio Apps (beta)

Post by LG73 » Sun Apr 07, 2024 7:58 pm

richmond62 wrote:
Sun Apr 07, 2024 7:20 pm
dark theme support
Ooh: Do tell. 8)
Hi Richmond!

I found the solution for dark theme for macOS apps over here: https://github.com/PaulMcClernan/OpenXT ... -App-Tools

I added this code to onOpenStack:

Code: Select all

if the platform is "MacOS" then
	GetFrontMostApplication(BundleID)
      if the result is not "com.runrev.livecode" then
         if the systemAppearance is "dark" then
            setAppToDarkMode
         else
            setAppToLightMode
         end if
      end if
 end if
I did that because the dark theme obscures parts of the LiveCode IDE with the current 10.0.0 (dp 7) version. systemAppearance doesn't currently exist for Windows so this will not solve dark theme for Windows apps. iOS already supports dark mode without add-ons and Android seems to be fine in dark mode. I have not tried any of this in Linux so no idea what's available. The standalone application settings for Linux appear to be very limited, at least on the macOS version of the IDE.
Cheers,

Phil
LG73 - Vancouver's Hit Music Mix!
http://www.LG73.ca/

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9397
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: macOS Versions of My Radio Apps (beta)

Post by richmond62 » Sun Apr 07, 2024 8:08 pm

Aah: good to see that some 'cross-fertilisation' is going on. 8)

Post Reply

Return to “Made With LiveCode”