Publishing desktop apps

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Publishing desktop apps

Post by jacque » Mon Aug 28, 2023 5:01 pm

richmond62 wrote:
Mon Aug 28, 2023 2:36 pm
My apps are stored on my DropBox account, and are not code-signed, notarised, stapled, died purple, or anything else that Apple 'demands': they can be freely downloaded as ZIP files onto Macs, unzipped and run.
There are ways around the scary warning and refusal to launch, but your users need to know how to do it. If they're running older versions of Mac OS then you don't need notarization, the OS doesn't know about it. You also don't need to notarize if the app is running on the same machine that compiled it.

If users are running Monterey (or maybe it's Big Sur?) or higher an unnotarized app is challenged and blocked.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10096
Joined: Fri Feb 19, 2010 10:17 am

Re: Publishing desktop apps

Post by richmond62 » Mon Aug 28, 2023 5:34 pm

If users are running Monterey (or maybe it's Big Sur?) or higher an unnotarized app is challenged and blocked.
I spun off my most recent version of my Devawriter Pro app from LC 9.6.3 on MacOS Ventura (MacOS 13), and will now attempt to download the thing onto a different machine running MacOS Monterey (12) and see what I shall see.

anyone who wishes can try it themselves:

https://www.dropbox.com/sh/2vgc1ei088hd ... QQjYa?dl=0
-
Screen Shot 2023-08-28 at 19.30.00.png
-
Click on the 'MacOSX.zip' file . . .
-
and then on the 'Download' button:
-
Screen Shot 2023-08-28 at 19.31.55.png
-
Then Unzip the file you have downloaded, and you will get a folder that contains the app and the accompanying specialist font:
-
Screen Shot 2023-08-28 at 19.33.36.png

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10096
Joined: Fri Feb 19, 2010 10:17 am

Re: Publishing desktop apps

Post by richmond62 » Mon Aug 28, 2023 5:41 pm

Double-click on the Devawriter Pro.app icon in an ATTEMPT to open it:
-
Screen Shot 2023-08-28 at 19.36.05.png
-
Then try a Left-click for a contextual menu:
-
Screen Shot 2023-08-28 at 19.39.01.jpg
-
THEN click on OPEN:
-
Screen Shot 2023-08-28 at 19.39.38.jpg

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10096
Joined: Fri Feb 19, 2010 10:17 am

Re: Publishing desktop apps

Post by richmond62 » Mon Aug 28, 2023 5:44 pm

Opens . . .
-
Screen Shot 2023-08-28 at 19.42.07.jpg
-
So, I would suggest that instead of chanting
code-sign, notarize, and staple
without actually checking . . . 8)

Mind you . . .
-
Screen Shot 2023-08-28 at 19.54.27.png
-
You don't want to get caught with your knickers round your ankles. 8)

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10317
Joined: Wed May 06, 2009 2:28 pm

Re: Publishing desktop apps

Post by dunbarx » Mon Aug 28, 2023 7:38 pm

All.

Most of my time and effort is managing a single large "app" that I develop on Mac. It controls much of the manufacturing side of my business, which requires much custom gadgetry. It has nothing to do with keeping records, writing checks or buying materials. It would be useless for anyone else on the planet.

I use it in the Mac IDE. I can fool around with it as I work with it. But my "users" are a handful of engineers who use it as a Windows standalone, because they use Windows exclusively.

I distribute the standalone as it develops, get bugs fixed, etc. directly to my co-workers. Am I doing anything, wrong?

Craig

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10096
Joined: Fri Feb 19, 2010 10:17 am

Re: Publishing desktop apps

Post by richmond62 » Mon Aug 28, 2023 7:51 pm

Am I doing anything, wrong?
Only in the opinions of sententious types who insist on doing everything 'by the book'. 8)

As Steve Jobs stated "Think Different", and then left us with a system that seems to be rigidifying by the moment . . .

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10317
Joined: Wed May 06, 2009 2:28 pm

Re: Publishing desktop apps

Post by dunbarx » Mon Aug 28, 2023 8:41 pm

Richmond.

I meant "really".

Craig

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10096
Joined: Fri Feb 19, 2010 10:17 am

Re: Publishing desktop apps

Post by richmond62 » Mon Aug 28, 2023 8:48 pm

Nothing "really" as far as I can see. 8)

As the software package is being released inside your own domain, and (presumably) nowhere else . . .

[This posting of mine has been modified in the light of a posting by stam further down the list.]
Last edited by richmond62 on Tue Aug 29, 2023 9:47 am, edited 1 time in total.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10317
Joined: Wed May 06, 2009 2:28 pm

Re: Publishing desktop apps

Post by dunbarx » Mon Aug 28, 2023 8:49 pm

All.
There are ways around the scary warning and refusal to launch, but your users need to know how to do it.
Jacque wrote that.

I will break the law as readily as anyone. I am wondering, though, about those scary things. Is it that all the other instances of my work is run on my own network? And is it that the few nice apps I wrote for others never had an issue because they were simply run on a personal computer?

Craig

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10096
Joined: Fri Feb 19, 2010 10:17 am

Re: Publishing desktop apps

Post by richmond62 » Mon Aug 28, 2023 9:47 pm

I don't somehow feel that not notarising, stapling, nailing, screwing to the sticking point, or whatever is breaking any law.

It does of course mean that people who like to follow rules (and rules and laws are not the same thing) will look askance at those that don't.

And, of course, in your own house you should be the one who makes the rules.

Apple, or Microsoft, however they might like to behave like nation states setting how their 'citizens' should behave, are not either dictators of totalitarian states, or democratically elected bodies of officers or lawgivers.

Of course an awful lot of people never stop to think about these things (in fact an awful lot of people do very little thinking at all), and believe their lives are easier that way.

The whole theory underpinning ideas such as copyleft came about when people (such as Hairy Stallman) did some thinking and began to worry when rules, slowly and sneakily, turned into laws unopposed.

Maybe I'm a silly person, but if I OWN a computer no-one should tell me what to do with it and how to do it.

'Cannot' is a word that produces an allergic reaction in me.

stam
Posts: 3069
Joined: Sun Jun 04, 2006 9:39 pm

Re: Publishing desktop apps

Post by stam » Tue Aug 29, 2023 2:45 am

richmond62 wrote:
Mon Aug 28, 2023 9:47 pm
Maybe I'm a silly person, but if I OWN a computer no-one should tell me what to do with it and how to do it.
<snip>
...in your own house you should be the one who makes the rules.
It's not your house though is it? The apps run in an OS, not just on their own in the box you purchased.
You do not own operating systems, you licence them. You are bound to their terms and no ownership is conferred. The fact that you own the hardware means little. Contrary to your beliefs, the actual owners of the OS are the actual lawmakers for that OS.
Just like you can't just flaunt the terms of LiveCode's EULA because it's your hardware and code.
richmond62 wrote:
Mon Aug 28, 2023 9:47 pm
I don't somehow feel that not notarising, stapling, nailing, screwing to the sticking point, or whatever is breaking any law.
You're not breaking a law, as you well know. But you're cutting corners designed to promote security. You don't care about it and neither do your users? Fine. But this does not apply to most developers who want to publish software to a wider audience.

It's not rocket science: The major OS vendors are blamed for allowing malicious software to circulate without checks.
Their corporate responsibility is to put in place mechanisms for preventing malicious software, which is mainly to ensure a software author is clearly identifiable (code signing) and that the the file you're downloading isn't tampered with somewhere en route (notarising & stapling).
For this to actually work, software developers have to play ball as well.

If you don't want to, you don't have to - but the OS will alert users that that there is a potentially serious security issue.
Nothing scary will happen. Unless, for example, someone maliciously intercepts your software, bundles it with malware and distributes it pretending it's your original software (which I suspect you wouldn't enjoy if it happened to you).

For commercial software it's a showstopper. If you put an app in the wild, especially a paid app, the expectation from users is that the OS won't flag up security warnings. Which exist for good reason.

While you don't have to do this on Linux, I see lots of checksums for each download provided to guarantee their authenticity - but who here really checks the checksums of all the apps they download? (maybe it's just me doesn't bother, I don't know...). It's just shifting this responsibility to the user rather than the OS and we all know how reliable users are...

At present you can get away with not codesigning/notarising, but there are only 2 real arguments for flaunting 'the rules':
1. It's a bit more work. Not much more, but it is an extra chore. If that's the issue then time to break out those big-boy pants.
2. There is a cost - relatively low on Apple systems (£79/year but this gives you access to much more), but now much more expensive on Windows (cheapest I found was £179/year if you pay 3 years in advance, otherwise £248/year - and has no added value).

You, as the developer, have to decide what is best for your product. In my mind the only reason you might not want to do this is the cost - which understandably is an expense you won't recoup from freeware.

But nothing about this is about 'doing it by the book' or being sententious (rude much?)
Presenting this discussion in those terms promotes ignorance and irresponsibility.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10096
Joined: Fri Feb 19, 2010 10:17 am

Richmond puts his foot in it again.

Post by richmond62 » Tue Aug 29, 2023 9:45 am

First off I'll start by apologising, as I really did go off like a loose cannon. :oops:

HOWEVER, I would like to take issue with a few things:
It's not your house though is it? The apps run in an OS, not just on their own in the box you purchased.
You do not own operating systems, you licence them.
Isn't it my house? This seems a bit like saying because the utilities in my house (water, gas, electricity) are supplied by various companies that are not me, the house is not mine.

I could, were I to choose so, run a type of GNU-Linux on my Apple hardware.

Am I not allowed to tinker with and modify the OS on my machine, just as long as I don't start distributing my tinkered version of the OS?
Contrary to your beliefs, the actual owners of the OS are the actual lawmakers for that OS.
No; surely not the 'lawmakers', but the people who set the rules.
But you're cutting corners designed to promote security. You don't care about it and neither do your users
Yes, I am, and the original question hereabouts was whether it was POSSIBLE to deliver software without going through those procedures to promote security (notarising, stapling, and so on).

So: again, I'll apologise for my onslaught about those security procedures, but NOT about my demonstrating that is is perfectly possible to deliver Mac software that can be installed (with minimal effort) by side-stepping aspects of those security procedures . . . and, by way of 'security' I did suggest that end-users always had some sort of anti-virus software installed.
Unless, for example, someone maliciously intercepts your software, bundles it with malware and distributes it pretending it's your original software (which I suspect you wouldn't enjoy if it happened to you)
No, I wouldn't . . . surely, however, there are personal rules one can follow, such as only downloading software from sources you trust (e.g. macupdate.com), and having anti-virus software installed.

[My anti-virus software has caught 2 bits of suspect code in the last 2 weeks]
promotes ignorance
I don't know how one would 'promote ignorance' ["it is good to know very little" ???]. What my posting might have done is promote carelessness.

That, if it be true, is also something for which I am happy to apologise for, and extremely embarrassed if that results in anyone getting "in the soup" with their software on an end-user's machine / network.

And I do feel that some people are presenting security procedures in a way that comes across as sententious. Certainly, as I have demonstrated, those security procedures are optional, and may be advisable, and in some markets almost essential, but they are not compulsory, and as such they should not be written about in such a dogmatic fashion.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10317
Joined: Wed May 06, 2009 2:28 pm

Re: Publishing desktop apps

Post by dunbarx » Tue Aug 29, 2023 2:23 pm

While Stam and Richmond hammer out their differences, can I ask again if by distributing standalones am I violating, if not the law, ordinary practice?

In other words would anyone at all look askance at my doing this?

I wanted, a while ago, to make a mobile app for private distribution, without notifying anyone officially. I was told this was not really possible. I assume because one cannot just send a standalone that will run on ones phone, as is possible to another desktop.

But that begs the issue of notarization, no?

Craig
Last edited by dunbarx on Tue Aug 29, 2023 4:51 pm, edited 1 time in total.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10096
Joined: Fri Feb 19, 2010 10:17 am

Re: Publishing desktop apps

Post by richmond62 » Tue Aug 29, 2023 2:44 pm

Stan and Richmond
stam [with an 'M'] might be as miffed by that as I am when I keep getting called 'Richard.' 8)

I don't think we have any particular differences to hammer out: it is just that we have what seem to be slightly different attitudes towards computer security and application deployment. I certainly bear him no ill will. :)
Last edited by richmond62 on Tue Aug 29, 2023 3:11 pm, edited 1 time in total.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10096
Joined: Fri Feb 19, 2010 10:17 am

Re: Publishing desktop apps

Post by richmond62 » Tue Aug 29, 2023 2:51 pm

one cannot just send a standalone that will run on ones phone
Side-loading . . .

Post Reply