-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #267644: Add auto updater to MuseScore development versions
- Loading branch information
Showing
14 changed files
with
267 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
include(FindPackageHandleStandardArgs) | ||
|
||
find_path(SPARKLE_INCLUDE_DIR Sparkle.h) | ||
find_library(SPARKLE_LIBRARY NAMES Sparkle) | ||
|
||
find_package_handle_standard_args(Sparkle DEFAULT_MSG SPARKLE_INCLUDE_DIR SPARKLE_LIBRARY) | ||
mark_as_advanced(SPARKLE_INCLUDE_DIR SPARKLE_LIBRARY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
set -e | ||
|
||
options="--all -10" | ||
messages_command="git log --pretty=tformat:'%s' ${options[@]}" | ||
lines_command="git log --pretty=tformat:'<b>%h</b> - __XX123XX__ </li>' ${options[@]}" | ||
|
||
# damn bash arrays | ||
OLDIFS=$IFS | ||
IFS=$'\n' | ||
|
||
messages=($(bash -c "$messages_command")) | ||
lines=($(bash -c "$lines_command")) | ||
|
||
IFS=$OLDIFS | ||
|
||
mlen=${#messages[@]} | ||
llen=${#lines[@]} | ||
|
||
OUTPUT=${OUTPUT}"<ul>" | ||
for (( i=0; i<${mlen}; i++ )); do | ||
message=$(perl -MHTML::Entities -e '$msg=encode_entities($ARGV[1]);$l=$ARGV[0];$l =~ s/__XX123XX__/$msg/;print $l;' "${lines[$i]}" "${messages[$i]}") | ||
OUTPUT=${OUTPUT}"<li>$message" | ||
done | ||
OUTPUT=${OUTPUT}"</ul>" | ||
|
||
echo $OUTPUT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.