Skip to content

Commit 3422299

Browse files
authored
Merge pull request #2 from bvanpeski/1.6.1
1.6.1
2 parents a5a5a3c + 0bb609b commit 3422299

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
8+
## v 1.6.1 | 2023-01-03
9+
`Changed` - Modified bundleid regex logic to account for non-standard bundle id formats.
10+
711
## v 1.6 | 2022-10-22
812
`Added` - Bundleid/app path checks
913

screennudge_prompt.zsh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
###########################################################################################
1717
# Created by Brian Van Peski - macOS Adventures
1818
###########################################################################################
19-
# Current version: 1.6. | See CHANGELOG for full version history.
20-
# Updated: 10/12/2022
19+
# Current version: 1.6.1 | See CHANGELOG for full version history.
20+
# Updated: 01/03/2023
2121

2222
# Set logging - Send logs to stdout as well as Unified Log
2323
# Use 'log show --process "logger"' in Terminal to view logs activity and grep for ScreenNudge to filter.
@@ -74,7 +74,7 @@ UserDialog (){
7474
# THE NEEDFUL
7575
################################################################
7676
#Check for a valid bundleid
77-
if ! [[ $bundleid =~ ^[a-z0-9-]+(.[a-z0-9-]+)* ]]; then
77+
if ! [[ $bundleid =~ ^[a-zA-Z0-9]+[-.](.*) ]]; then
7878
LOGGING "--- Could not find valid bundleid for $appName at $appPath!"
7979
exit 1
8080
fi

0 commit comments

Comments
 (0)