Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ jobs:
- name: Generate and upload dump symbols
if: env.DO_UPLOAD_SYMBOLS == 'true'
run: |
APP_BIN=$(find "$(pwd)/build.release/src/app/" -type f -name "mscore4portable*" -print -quit)
APP_BIN=$(find "$(pwd)/build.release/src/app/" -type f -name "musescorestudio4portable*" -print -quit)
ARCH=${{ matrix.dump-symbols-arch }}
sudo cmake -DAPP_BIN=${APP_BIN} \
-DARCH=${ARCH} \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_linux_arm32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
- name: Generate and upload dump symbols
if: env.DO_UPLOAD_SYMBOLS == 'true'
run: |
APP_BIN=$(find "$(pwd)/build.release/src/app/" -type f -name "mscore4portable*" -print -quit)
APP_BIN=$(find "$(pwd)/build.release/src/app/" -type f -name "musescorestudio4portable*" -print -quit)
ARCH=armv7l
sudo cmake -DAPP_BIN=${APP_BIN} \
-DARCH=${ARCH} \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ jobs:
- name: Generate and upload dump symbols
if: env.DO_UPLOAD_SYMBOLS == 'true'
run: |
APP_BIN=$(pwd)/applebuild/mscore.app/Contents/MacOS/mscore
APP_BIN=$(pwd)/applebuild/musescorestudio.app/Contents/MacOS/musescorestudio
GENERATE_ARCHS=("x86_64 arm64")
BUILD_DIR=$(pwd)/applebuild
cmake -DAPP_BIN=${APP_BIN} \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ jobs:
if: env.DO_UPLOAD_SYMBOLS == 'true'
shell: bash
run: |
APP_BIN=$(pwd)/build.release/MuseScore5.pdb
APP_BIN=$(pwd)/build.release/MuseScoreStudio5.pdb
cmake -DAPP_BIN=${APP_BIN} \
-DSENTRY_URL=https://sentry.musescore.com \
-DSENTRY_ORG=sentry \
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/check_visual_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,12 @@ jobs:
path: ./comparison
#- name: Generate ref drawdata
# run: |
# chmod +x ./musescore_reference/app/bin/mscore4portable
# xvfb-run ./vtest/gen-ref-data.sh -m ./musescore_reference/app/bin/mscore4portable
# chmod +x ./musescore_reference/app/bin/musescorestudio4portable
# xvfb-run ./vtest/gen-ref-data.sh -m ./musescore_reference/app/bin/musescorestudio4portable
#- name: DrawData VTest
# run: |
# chmod +x ./musescore_current/app/bin/mscore4portable
# xvfb-run ./vtest/vtest.sh -m ./musescore_current/app/bin/mscore4portable
# chmod +x ./musescore_current/app/bin/musescorestudio4portable
# xvfb-run ./vtest/vtest.sh -m ./musescore_current/app/bin/musescorestudio4portable
# - name: Skip failure signal if PR is labeled 'vtests'
# if: github.event_name == 'pull_request' && contains( env.VTEST_DIFF_FOUND, 'true') && contains(github.event.pull_request.labels.*.name, 'vtests')
# run: |
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ applebuild
build.artifacts
build.symbols
vtest.artifacts
MuseScorePortable
MuseScoreStudioPortable
/*.config
/*.creator
/*.files
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ else()
cmake_minimum_required(VERSION 3.22...3.31) # Min. required by Qt 6.10
endif()

project(MuseScore LANGUAGES C CXX)
project(MuseScoreStudio LANGUAGES C CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
Expand Down Expand Up @@ -143,7 +143,7 @@ option(MUE_INSTALL_SOUNDFONT "Install sound font" ON)
option(MUE_RUN_WINDEPLOYQT "Run windeployqt" ON)

# === Tests ===
set(MUE_VTEST_MSCORE_REF_BIN "${CMAKE_CURRENT_LIST_DIR}/../MU_ORIGIN/MuseScore/build.debug/install/${INSTALL_SUBDIR}/mscore" CACHE PATH "Path to mscore ref bin")
set(MUE_VTEST_MSCORE_REF_BIN "${CMAKE_CURRENT_LIST_DIR}/../MU_ORIGIN/MuseScore/build.debug/install/${INSTALL_SUBDIR}/musescorestudio" CACHE PATH "Path to musescorestudio ref bin")
set(APP_WORKSPACE_CONFIG_FILE "${CMAKE_CURRENT_LIST_DIR}/src/app/configs/workspaces.cfg")
set(APP_BUILTIN_WORKSPACES_DIR "${CMAKE_CURRENT_LIST_DIR}/share/workspaces")

Expand Down
8 changes: 2 additions & 6 deletions SetupConfigure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,13 @@ string(TOUPPER ${MUSE_APP_BUILD_MODE} BUILD_MODE)
if(BUILD_MODE STREQUAL "DEV")
set(MUSE_APP_UNSTABLE ON)
set(MUSE_APP_RELEASE_CHANNEL "dev")
set(MUSE_APP_NAME_VERSION "${MUSE_APP_NAME_VERSION} ${MUSE_APP_RELEASE_CHANNEL}")
set(MUSE_APP_TITLE_VERSION "${MUSE_APP_TITLE_VERSION} ${MUSE_APP_RELEASE_CHANNEL}")
set(MUSE_APP_IS_PRERELEASE ON)
set(MUSESCORE_ALLOW_UPDATE_ON_PRERELEASE OFF)
endif()

if(BUILD_MODE STREQUAL "TESTING")
set(MUSE_APP_UNSTABLE OFF)
set(MUSE_APP_RELEASE_CHANNEL "Testing")
set(MUSE_APP_NAME_VERSION "${MUSE_APP_NAME_VERSION} ${MUSE_APP_RELEASE_CHANNEL}")
set(MUSE_APP_TITLE_VERSION "${MUSE_APP_TITLE_VERSION} ${MUSE_APP_RELEASE_CHANNEL}")
set(MUSE_APP_IS_PRERELEASE ON)
set(MUSESCORE_ALLOW_UPDATE_ON_PRERELEASE ON)
endif()
Expand All @@ -72,11 +68,11 @@ endif()
# Setup paths
###########################################
if (OS_IS_MAC)
set(MUSE_APP_INSTALL_RESOURCES_LOCATION "mscore.app/Contents/Resources")
set(MUSE_APP_INSTALL_RESOURCES_LOCATION "musescorestudio.app/Contents/Resources")
elseif (OS_IS_WIN)
set(MUSE_APP_INSTALL_RESOURCES_LOCATION ".")
else()
set(MUSE_APP_INSTALL_RESOURCES_LOCATION "share/mscore${MUSE_APP_INSTALL_SUFFIX}-${MUSE_APP_VERSION_MAJ_MIN}")
set(MUSE_APP_INSTALL_RESOURCES_LOCATION "share/musescorestudio${MUSE_APP_INSTALL_SUFFIX}-${MUSE_APP_VERSION_MAJ_MIN}")
endif()

###########################################
Expand Down
6 changes: 3 additions & 3 deletions build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,11 @@ fn__set_default(INSTALL_PATH "install") # relative to BUILD_PATH

# MSCORE_EXECUTABLE (path relative to INSTALL_PATH)
if(WIN32)
fn__set_default(MSCORE_EXECUTABLE "bin/MuseScore5.exe")
fn__set_default(MSCORE_EXECUTABLE "bin/MuseScoreStudio5.exe")
elseif(APPLE)
fn__set_default(MSCORE_EXECUTABLE "mscore.app/Contents/MacOS/mscore")
fn__set_default(MSCORE_EXECUTABLE "musescorestudio.app/Contents/MacOS/musescorestudio")
else()
fn__set_default(MSCORE_EXECUTABLE "bin/mscore")
fn__set_default(MSCORE_EXECUTABLE "bin/musescorestudio")
endif()

# make paths absolute if they are not already
Expand Down
2 changes: 1 addition & 1 deletion buildscripts/ci/backend/convertor.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export XDG_RUNTIME_DIR=/tmp/runtime-root
export QT_QPA_PLATFORM=offscreen
export MU_QT_QPA_PLATFORM=offscreen

exec "$HERE/bin/mscore4portable"* "$@"
exec "$HERE/bin/musescorestudio4portable"* "$@"
2 changes: 1 addition & 1 deletion buildscripts/ci/crashdumps/generate_syms.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if(SHOW_HELP)
message(STATUS " -DDUMPSYMS_BIN=path path to dump_syms binary, default use path from environment path")
message(STATUS " -DBUILD_DIR=path path to build dir")
message(STATUS " -DSYMBOLS_DIR=path path to output symbols dir, default '../../build.symbols'")
message(STATUS " -DAPP_BIN=path path to mscore binary")
message(STATUS " -DAPP_BIN=path path to musescorestudio binary")
message(STATUS " -DGENERATE_ARCHS=archs generate symbols for architectures")
message(STATUS " -DSHOW_HELP=ON display this help and exit")
message(STATUS " ")
Expand Down
2 changes: 1 addition & 1 deletion buildscripts/ci/linux/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARTIFACTS_DIR=build.artifacts
CRASH_REPORT_URL=""
BUILD_NUMBER=""
BUILD_MODE=""
SUFFIX="" # appended to `mscore` command name to avoid conflicts (e.g. `mscoredev`)
SUFFIX="" # appended to `musescorestudio` command name to avoid conflicts (e.g. `musescorestudiodev`)
BUILD_CRASHPAD_CLIENT="OFF"
BUILD_PIPEWIRE=OFF

Expand Down
2 changes: 1 addition & 1 deletion buildscripts/ci/vtests/run.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export XDG_RUNTIME_DIR=/tmp/runtime-root
export QT_QPA_PLATFORM=offscreen
export MU_QT_QPA_PLATFORM=offscreen

exec "$HERE/bin/mscore4portable"* "$@"
exec "$HERE/bin/musescorestudio4portable"* "$@"
2 changes: 1 addition & 1 deletion buildscripts/cmake/GetPaths.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include(GetPlatformInfo)

if (OS_IS_MAC)
set(INSTALL_SUBDIR mscore.app/Contents/MacOS/)
set(INSTALL_SUBDIR musescorestudio.app/Contents/MacOS/)
set(INSTALL_BIN_DIR ${CMAKE_INSTALL_PREFIX}/${INSTALL_SUBDIR})
else()
set(INSTALL_SUBDIR bin)
Expand Down
12 changes: 6 additions & 6 deletions buildscripts/packaging/Linux+BSD/SetupAppImagePackaging.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if(MUSE_APP_UNSTABLE)
set(DESKTOP_LAUNCHER_NAME "MU ${MUSE_APP_VERSION_MAJ_MIN}") # Muse X.Y
else(MUSE_APP_UNSTABLE)
# Use full name for stable releases
set(DESKTOP_LAUNCHER_NAME "${MUSE_APP_TITLE} ${MUSE_APP_VERSION_MAJ_MIN}") # Muse X.Y
set(DESKTOP_LAUNCHER_NAME "${MUSE_APP_NAME_HUMAN_READABLE} ${MUSE_APP_VERSION_MAJ_MIN}") # Muse X.Y
endif(MUSE_APP_UNSTABLE)

if(${MUSE_APP_INSTALL_SUFFIX} MATCHES "dev")
Expand Down Expand Up @@ -62,9 +62,9 @@ endif(${MUSE_APP_INSTALL_SUFFIX} MATCHES "portable")
# and icon in the OS dock / taskbar. Run `xprop WM_CLASS` and click on
# App's main window to find out what string to use here.
if(MUSE_APP_UNSTABLE)
set(WINDOW_MANAGER_CLASS "${MUSE_APP_NAME_MACHINE_READABLE_COMPAT}${MUSE_APP_VERSION_MAJOR}Development")
set(WINDOW_MANAGER_CLASS "${MUSE_APP_NAME_MACHINE_READABLE}${MUSE_APP_VERSION_MAJOR}Development")
else()
set(WINDOW_MANAGER_CLASS "${MUSE_APP_NAME_MACHINE_READABLE_COMPAT}${MUSE_APP_VERSION_MAJOR}")
set(WINDOW_MANAGER_CLASS "${MUSE_APP_NAME_MACHINE_READABLE}${MUSE_APP_VERSION_MAJOR}")
endif()

# Install desktop file (perform variable substitution first)
Expand All @@ -84,14 +84,14 @@ configure_file(${CMAKE_CURRENT_LIST_DIR}/org.musescore.MuseScore.appdata.xml.in
install(FILES ${PROJECT_BINARY_DIR}/org.musescore.MuseScore${MUSE_APP_INSTALL_SUFFIX}.appdata.xml DESTINATION share/metainfo)

# Substitute variables within man pages
set(MAN_NAME mscore)
set(MAN_NAME musescorestudio)
set(MAN_ALIAS musescore)
set(MAN_EXTENSION .1)
set(MAN_FULL_NAME ${MAN_NAME}${MUSE_APP_INSTALL_SUFFIX}${MAN_EXTENSION})
set(MAN_FULL_ALIAS ${MAN_ALIAS}${MUSE_APP_INSTALL_SUFFIX}${MAN_EXTENSION})
set(MAN_TARGET ${CMAKE_CURRENT_LIST_DIR}/${MAN_NAME}${MAN_EXTENSION}.in)
set(MAN_BUILD ${PROJECT_BINARY_DIR}/${MAN_FULL_NAME})
string(TOUPPER "mscore${MUSE_APP_INSTALL_SUFFIX}" MAN_MSCORE_UPPER) # Command name shown in uppercase in man pages by convention
string(TOUPPER "musescorestudio${MUSE_APP_INSTALL_SUFFIX}" MAN_MSCORE_UPPER) # Command name shown in uppercase in man pages by convention
configure_file(${MAN_TARGET} ${MAN_BUILD})

# Compress man pages if gzip is installed (don't on OpenBSD)
Expand Down Expand Up @@ -131,7 +131,7 @@ endif(GZIP_EXECUTABLE AND NOT CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
# Install man pages in either compressed or uncompressed form
install(FILES ${MAN_BUILD} DESTINATION share/man/man1 COMPONENT doc)

# Create symlink alias for man pages so `man musescore` = `man mscore`
# Create symlink alias for man pages so `man musescore` = `man musescorestudio`
install(CODE "message(STATUS \"Creating symlink ${CMAKE_INSTALL_PREFIX}/share/man/man1/${MAN_FULL_ALIAS} -> ${CMAKE_INSTALL_PREFIX}/share/man/man1/${MAN_FULL_NAME}\")
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CMAKE_INSTALL_PREFIX}/share/man/man1/${MAN_FULL_NAME}\" \"${CMAKE_INSTALL_PREFIX}/share/man/man1/${MAN_FULL_ALIAS}\")"
COMPONENT doc)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
.Dt @MAN_MSCORE_UPPER@ 1
.Os MuseScore
.Sh NAME@Variables_substituted_by_CMAKE_on_installation@
.Nm mscore@MUSE_APP_INSTALL_SUFFIX@ ,
.Nm musescorestudio@MUSE_APP_INSTALL_SUFFIX@ ,
.Nm musescore@MUSE_APP_INSTALL_SUFFIX@
.Nd @MUSE_APP_NAME_VERSION@ sheet music editor
.Sh SYNOPSIS
Expand Down Expand Up @@ -79,7 +79,7 @@ GNU General Public Licence (GPLv2).
@MAN_PORTABLE@If MuseScore is installed, the manual can be viewed using
@MAN_PORTABLE@the familiar command:
@MAN_PORTABLE@.Pp
@MAN_PORTABLE@.Dl man mscore@MUSE_APP_INSTALL_SUFFIX@
@MAN_PORTABLE@.Dl man musescorestudio@MUSE_APP_INSTALL_SUFFIX@
@MAN_PORTABLE@.It Cm install Oo Fl i Oc Op Ar prefix
@MAN_PORTABLE@Run this without the options to fully integrate MuseScore
@MAN_PORTABLE@with the desktop environment (GNOME, KDE, etc).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ case $1 in
esac

sed \
-e 's!@MAN_MSCORE_UPPER@!MSCORE!g' \
-e 's!@MAN_MSCORE_UPPER@!MUSESCORESTUDIO!g' \
-e 's!@Variables_substituted_by_CMAKE_on_installation@!!g' \
-e 's!@MUSE_APP_INSTALL_SUFFIX@!!g' \
-e 's!@MUSE_APP_NAME_VERSION@!MuseScore 4!g' \
-e 's!@MUSE_APP_NAME_VERSION@!MuseScoreStudio 4!g' \
-e 's!@MAN_PORTABLE@!'"$portable"'!g' \
-e 's!@PORTABLE_INSTALL_NAME@!MuseScorePortable!g' \
-e 's!@PORTABLE_INSTALL_NAME@!MuseScoreStudioPortable!g' \
-e 's!@CMAKE_INSTALL_PREFIX@!/usr!g' \
-e 's!@MUSE_APP_INSTALL_RESOURCES_LOCATION@!share/mscore-4.0!g' \
<mscore.1.in | man -l -
-e 's!@MUSE_APP_INSTALL_RESOURCES_LOCATION@!share/musescorestudio-4.0!g' \
<musescorestudio.1.in | man -l -
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<launchable type="desktop-id">org.musescore.MuseScore@MUSE_APP_INSTALL_SUFFIX@.desktop</launchable>
<provides>
<!-- <mediatype> in .desktop file as MimeType -->
<binary>mscore@MUSE_APP_INSTALL_SUFFIX@</binary>
<binary>musescorestudio@MUSE_APP_INSTALL_SUFFIX@</binary>
<id>org.musescore.MuseScore@MUSE_APP_INSTALL_SUFFIX@.desktop</id>
</provides>
<!-- <releases> moved to bottom of this file to keep it out the way -->
Expand Down Expand Up @@ -102,10 +102,10 @@
<image>https://raw.githubusercontent.com/flathub/org.musescore.MuseScore/master/screenshots/07-new-score-wizard.png</image>
</screenshot>
</screenshots>
<translation type="qt">mscore@MUSE_APP_INSTALL_SUFFIX@-@MUSE_APP_VERSION_MAJ_MIN@/locale/instruments</translation>
<translation type="qt">mscore@MUSE_APP_INSTALL_SUFFIX@-@MUSE_APP_VERSION_MAJ_MIN@/locale/musescore</translation>
<translation type="qt">mscore@MUSE_APP_INSTALL_SUFFIX@-@MUSE_APP_VERSION_MAJ_MIN@/locale/qt</translation>
<translation type="qt">mscore@MUSE_APP_INSTALL_SUFFIX@-@MUSE_APP_VERSION_MAJ_MIN@/locale/qtbase</translation>
<translation type="qt">musescorestudio@MUSE_APP_INSTALL_SUFFIX@-@MUSE_APP_VERSION_MAJ_MIN@/locale/instruments</translation>
<translation type="qt">musescorestudio@MUSE_APP_INSTALL_SUFFIX@-@MUSE_APP_VERSION_MAJ_MIN@/locale/musescore</translation>
<translation type="qt">musescorestudio@MUSE_APP_INSTALL_SUFFIX@-@MUSE_APP_VERSION_MAJ_MIN@/locale/qt</translation>
<translation type="qt">musescorestudio@MUSE_APP_INSTALL_SUFFIX@-@MUSE_APP_VERSION_MAJ_MIN@/locale/qtbase</translation>
<content_rating type="oars-1.1" />
<!-- GNOME extensions -->
<kudos>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ GenericName[fr]=Notation musicale
Comment=Create, play and print beautiful sheet music
Comment[ru]=Визуальный редактор нотных партитур
Comment[fr]=Gravure de partitions musicales
Icon=mscore@MUSE_APP_INSTALL_SUFFIX@
Exec=mscore@MUSE_APP_INSTALL_SUFFIX@ %U
Icon=musescorestudio@MUSE_APP_INSTALL_SUFFIX@
Exec=musescorestudio@MUSE_APP_INSTALL_SUFFIX@ %U
Terminal=false
MimeType=application/x-musescore;application/x-musescore+xml;x-scheme-handler/musescore;application/vnd.recordare.musicxml;application/vnd.recordare.musicxml+xml;application/x-mei+xml;audio/midi;application/x-bww;application/x-biab;application/x-capella;audio/x-gtp;application/x-musedata;application/x-overture;audio/x-ptb;application/x-tef;application/x-sf2;application/x-sf3;
Categories=AudioVideo;Audio;Graphics;2DGraphics;VectorGraphics;RasterGraphics;Publishing;Midi;Mixer;Sequencer;Music;Qt;
Expand Down
2 changes: 1 addition & 1 deletion buildscripts/packaging/Linux+BSD/portable/AppRun.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ case "$1" in
"${APPDIR}/bin/portable-utils" "$@"
;;
* )
"${APPDIR}/bin/mscore@MUSE_APP_INSTALL_SUFFIX@" "$@"
"${APPDIR}/bin/musescorestudio@MUSE_APP_INSTALL_SUFFIX@" "$@"
;;
esac
12 changes: 6 additions & 6 deletions buildscripts/packaging/Linux+BSD/portable/portable-utils.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function main() {
removeResources "$2" "$3" || errorMsg "Unable to remove from '${prefix}'"
;;
man|manual|manpage )
man "${APPDIR}/share/man/man1/mscore@MUSE_APP_INSTALL_SUFFIX@.1.gz"
man "${APPDIR}/share/man/man1/musescorestudio@MUSE_APP_INSTALL_SUFFIX@.1.gz"
;;
check-depends|check-dependencies )
checkDependencies "$2"
Expand Down Expand Up @@ -48,13 +48,13 @@ Special options for MuseScore Portable AppImage:
check-depends [exes-only] Displays system information for developers.

Ordinary MuseScore options:
$("${APPDIR}/bin/mscore@MUSE_APP_INSTALL_SUFFIX@" --help | tail -n +5)
$("${APPDIR}/bin/musescorestudio@MUSE_APP_INSTALL_SUFFIX@" --help | tail -n +5)
EOF
}

function printVersion() {
local pretty=$(sed -rn "s|^Name=([^#]*)|\1|p" "${APPDIR}/org.musescore.MuseScore@MUSE_APP_INSTALL_SUFFIX@.desktop")
local long=$("${APPDIR}/bin/mscore@MUSE_APP_INSTALL_SUFFIX@" --long-version 2>&1 | tail -n 1)
local long=$("${APPDIR}/bin/musescorestudio@MUSE_APP_INSTALL_SUFFIX@" --long-version 2>&1 | tail -n 1)
if [ "$1" == "centered" ]; then
printf "%*s\n" "$(((${#pretty}+80)/2))" "$pretty"
printf "%*s\n" "$(((${#long}+80)/2))" "$long"
Expand Down Expand Up @@ -190,10 +190,10 @@ Step 3 of 3.
Symlinks can be created to make it easier to launch MuseScore from
the command line. (Symlinks are like shortcuts or aliases.)
EOF
[ "$interactive" ] && printf "Create symlinks 'mscore@MUSE_APP_INSTALL_SUFFIX@' and 'musescore@MUSE_APP_INSTALL_SUFFIX@' [Y/n]?"
[ "$interactive" ] && printf "Create symlinks 'musescorestudio@MUSE_APP_INSTALL_SUFFIX@' and 'musescore@MUSE_APP_INSTALL_SUFFIX@' [Y/n]?"
if [ ! "$interactive" ] || readYes ; then
cd bin
ln -sf "${name}" "mscore@MUSE_APP_INSTALL_SUFFIX@"
ln -sf "${name}" "musescorestudio@MUSE_APP_INSTALL_SUFFIX@"
ln -sf "${name}" "musescore@MUSE_APP_INSTALL_SUFFIX@"
fi
if ! which "${name}" >/dev/null; then
Expand Down Expand Up @@ -280,7 +280,7 @@ function removeResources() {
readYes || return 0
cd "$prefix" && <"${APPDIR}/install_manifest.txt" xargs rm || return 1
actual_location="$(readlink -f "${APPIMAGE}")" # get before deleting symlinks
rm "bin/mscore@MUSE_APP_INSTALL_SUFFIX@"
rm "bin/musescorestudio@MUSE_APP_INSTALL_SUFFIX@"
rm "bin/musescore@MUSE_APP_INSTALL_SUFFIX@"
<"${APPDIR}/install_manifest.txt" xargs "${APPDIR}/bin/rm-empty-dirs"
updateCache "${prefix}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Launch]
ProgramExecutable=MuseScore\bin\MuseScore5.exe
ProgramExecutable=MuseScore\bin\MuseScoreStudio5.exe
WaitForProgram=true
DirectoryMoveOK=yes

Expand Down
2 changes: 1 addition & 1 deletion buildscripts/packaging/Windows/PortableApps/App/readme.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
The files in this directory are necessary for MuseScore Portable to function. There is normally no need to directly access or alter any of the files within these directories.
The files in this directory are necessary for MuseScore Studio Portable to function. There is normally no need to directly access or alter any of the files within these directories.
Loading
Loading