mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-09 22:04:53 +01:00
updated fragements
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
# MARK: check minimal macOS requirement
|
||||
autoload is-at-least
|
||||
|
||||
@@ -40,6 +39,10 @@ label=${label:l}
|
||||
printlog "################## Start Installomator v. $VERSION"
|
||||
printlog "################## $label"
|
||||
|
||||
# How we get version number from app
|
||||
# (alternative is "CFBundleVersion", that can be used in labels)
|
||||
versionKey="CFBundleShortVersionString"
|
||||
|
||||
# get current user
|
||||
currentUser=$(scutil <<< "show State:/Users/ConsoleUser" | awk '/Name :/ { print $3 }')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user