Commit graph

319 commits

Author SHA1 Message Date
Marc Durdin
018fade40b chore(mac): use mac cp for -R ops
Because we don't know if mac BSD cp or GNU cp will be first on the path,
where there is ambiguity (e.g. with -R flag), we will use the macOS cp
command in /bin to ensure that we have consistent results. The
alternative would be to fixup each instance of the cp parameters so that
they work consistently with either cp command, but given these scripts
can run only on macOS, that seems unnecessary.

This replaces the earlier change in 97c6331b5.
2023-07-25 11:52:12 +07:00
Marc Durdin
857bad2b6c fix(mac): fix corrupt installer
Fixes #8533 after build agent maintenance put GNU coreutils cp on path
ahead of macOS /bin/cp. This subtly changed the behaviour of the `-R`
flag such that it copied the folder into a subfolder rather than copying
the contents of the folder into the destination folder:

Original layout:

```
Install Keyman.app/Contents/MacOS/
  applet
  textinputsource
  Keyman.app/
```

Corrupted layout:

```
Install Keyman.app/Install Keyman.app/Contents/MacOS/
  applet
  textinputsource
  Keyman.app/
```

Query: should we be rolling back the path changes so that /bin is first
on the path? I am concerned about other subtle changes in behaviour in
the macOS and iOS builds. Otherwise it feels like we may need to audit
the scripts in /mac, /ios (and possibly /common, /core, /web,
/resources) for potential changes.

Annoyed that it took me so long. Also annoying that macOS fails so
subtly when a parent folder has the .app extension in its name.
2023-07-25 11:52:12 +07:00
Marc Durdin
a3b8ac496a chore(mac): update stat path 2023-06-05 09:45:58 +07:00
Darcy Wong
786c319fca chore(common): Update Fula strings 2023-02-17 08:54:28 +07:00
Marc Durdin
cdc661f2d6
Merge branch 'beta' into cherrypick/common/crowdin-cs 2023-01-31 18:02:32 +11:00
Marc Durdin
31fbeec217
Merge branch 'beta' into chore/common/crowdin-sv 2023-01-31 17:59:52 +11:00
Marc Durdin
7fd0c8a39e
Merge branch 'beta' into chore/common/crowdin-uk 2023-01-31 17:56:39 +11:00
Marc Durdin
526aead54f
Merge pull request #8072 from keymanapp/chore/common/crowdin-ru
chore(common): Check in crowdin for Russian
2023-01-31 17:54:21 +11:00
Darcy Wong
78955edf20 chore(common): Update crowdin strings for Shuwa (Latin) 2023-01-26 09:34:43 +07:00
Darcy Wong
1a4512d0eb chore(common): Add crowdin strings for Czech
chore(common): Add crowdin strings for Czech
2023-01-26 07:31:47 +07:00
Darcy Wong
f2cf341a68
Merge branch 'beta' into chore/common/crowdin-sv 2023-01-25 21:27:09 +07:00
Darcy Wong
dbe3d17b8a
Merge branch 'beta' into chore/common/crowdin-uk 2023-01-25 21:24:01 +07:00
Darcy Wong
1074af1023
Merge branch 'beta' into chore/common/crowdin-ru 2023-01-25 21:19:46 +07:00
sgschantz
7a140cdaf4 updated mac project settings to include Russian localization 2023-01-25 11:21:37 +07:00
sgschantz
d9d5a7cc02 updated mac project settings to include Ukranian localization 2023-01-25 10:10:53 +07:00
sgschantz
90ec0f0b1f updated mac project settings to include Swedish localization 2023-01-25 09:40:00 +07:00
sgschantz
f3901ae48d updated mac project settings to include Kannada localization 2023-01-24 14:27:26 +07:00
Darcy Wong
dce46c95ab chore(common): Check in crowdin for Ukrainian 2023-01-24 10:26:15 +07:00
Darcy Wong
0a626a9cb5 chore(common): Check in crowdin for Russian 2023-01-24 10:13:13 +07:00
Darcy Wong
2c02150054 chore(common): Add crowdin for Swedish 2023-01-24 09:33:42 +07:00
Darcy Wong
3dbd78a0ef chore(common): Add Crowdin strings for Kannada 2023-01-03 11:10:57 +07:00
Shawn Schantz
365d934ec9
Merge pull request #7762 from keymanapp/fix/ios/7476-right-alt
fix(mac): Enable right-alt/option key mapping
2022-11-22 08:51:57 +07:00
Shawn Schantz
ed78cfd339
Update mac/Keyman4MacIM/Keyman4MacIM/Privacy/PrivacyConsent.m
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-11-22 08:49:57 +07:00
Darcy Wong
cd27527646
Merge branch 'beta' into chore/common/crowdin-update-zhcn 2022-11-18 16:47:28 +07:00
sgschantz
6611e5f393 call completion handler when accessibility is already enabled 2022-11-18 08:32:23 +07:00
sgschantz
39a9456ec7 added ff-ng localization to mac project 2022-11-15 10:09:00 +07:00
sgschantz
59f875fcd7 added zh-cn localization to mac project 2022-11-15 09:06:04 +07:00
Darcy Wong
7ca7cb8d70 chore(common): Update crowin strings for Fulfulde 2022-11-14 10:27:30 +07:00
Darcy Wong
391eb402f3 chore(common): Update crowdin strings for Simplified Chinese 2022-11-14 09:56:52 +07:00
sgschantz
097af26e96 added transparent keyman system menu icon with high res version 2022-11-02 16:28:24 +07:00
Darcy Wong
df0153f8f9
Merge pull request #7498 from keymanapp/chore/common/crowdin-nl
chore(common): Add crowdin strings for Dutch
2022-10-27 20:25:33 +07:00
Darcy Wong
5b59cca37b chore(mac): Add privacy-alert-text string 2022-10-25 13:57:25 +07:00
Darcy Wong
1bc6e6a06f chore(common): Update crowdin strings for 16.0 2022-10-25 11:33:44 +07:00
Darcy Wong
8b781cdcff chore(common): Update crowdin strings for Amharic 2022-10-25 09:39:56 +07:00
sgschantz
0a9b3ebb61 add dutch(nl) localization to mac and ios project files 2022-10-24 09:34:10 +07:00
Darcy Wong
081c23c798 chore(common): Add crowdin strings for Dutch 2022-10-20 09:42:56 +07:00
sgschantz
0d644b48af modified security alert prompt 2022-10-17 10:58:59 +07:00
sgschantz
5e3d6ce650 jump to System Preferences after displaying privacy alert to user 2022-10-14 16:13:57 +07:00
sgschantz
23ac555e95 changed property and arg names for consistency, more comment cleanup 2022-10-03 09:35:32 +07:00
sgschantz
64ba679252 comment cleanup 2022-09-30 23:36:16 +07:00
sgschantz
fdeeada6bf delete icon for alert and use AppIcon 2022-09-30 17:34:10 +07:00
sgschantz
ae3b9c82bc improved comments and updated alert string 2022-09-25 17:21:45 +07:00
sgschantz
c6a6e32e11 add mechanism to check for required permissions and prompt the user before the system does 2022-09-25 16:18:07 +07:00
Marc Durdin
f836574cbc chore: use keyman.com instead of keyman-staging.com
Fixes #7227.

We want to use keyman.com for now even for alpha builds, as
keyman-staging.com is going to be used for transition to Docker-based
hosting, and it will be problematic to try and share that process with
alpha builds.
2022-09-08 14:32:39 +10:00
Marc Durdin
767927bf16 chore(common): use /usr/bin/env bash
Fixes up scripts (except under /linux) to use `#!/usr/bin/env bash`
instead of `#!/bin/bash` or `#!/bin/sh` so that we don't end up with
the ancient version of bash supplied with macOS.

This became urgent with this PR, because of bash-4.xisms in
build-utils.sh, for example on line 572:

```
if [[ -v _builder_params[$e] ]]; then
```
2022-07-25 14:59:37 +10:00
sgschantz
bf95a246a5 added Spanish es-419 localization to Mac project 2022-05-24 14:40:13 +07:00
Darcy Wong
d247e475df chore(common): Update crowdin strings for Spanish (Latin America) 2022-05-24 08:37:34 +07:00
Darcy Wong
7c3de5bbc3 chore(common): Merge remote-tracking branch 'origin/beta' into chore/common/crowdin-pl 2022-05-11 14:28:50 +07:00
sgschantz
df385d4d71 add Polish localization to iOS and Mac projects 2022-05-09 20:29:39 +07:00
sgschantz
023ecc9faf add italian localization to iOS and Mac projects 2022-05-09 19:27:40 +07:00