-
Couldn't load subscription status.
- Fork 3k
fix #281616 : compile x86 Windows PortableApp at release time #5508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| build/PortableApps/**/*.ini eol=crlf | ||
| build/PortableApps/**/*.txt eol=crlf | ||
| build/PortableApps/**/*.ini.in eol=crlf | ||
| build/PortableApps/**/*.html eol=crlf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not really sure these are needed, but the target is a Windows machine
build/appveyor/before_build.bat
Outdated
| IF "%BUILD_WIN_PORTABLE%" == "ON" ( | ||
| CD C:\MuseScore | ||
|
|
||
| IF NOT EXIST portableappslauncher.zip (START " " /wait "C:\cygwin64\bin\wget.exe" --no-check-certificate "https://docs.google.com/uc?export=download&id=1hRaZTXY0ffm-TRLzu3a0_o77r3BEQcPf" -O portableappslauncher.zip ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here the archive should be retrieved from MuseScore server, not my Gmail account.
It is simply a zip of the installation folder of PortableApps.com Launcher.
build/appveyor/before_build.bat
Outdated
| CD Launcher\App | ||
| CD C:\MuseScore | ||
|
|
||
| IF NOT EXIST portableappsinstaller.zip (START " " /wait "C:\cygwin64\bin\wget.exe" --no-check-certificate "https://docs.google.com/uc?export=download&id=1bWHoVig0EjZXQ5jJnUdnSDoEA_HyeDzH" -O portableappsinstaller.zip ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
It is a zip of the installation folder of PortableApps.com Installer.
|
I inserted PortableApps.com "development build" splash screen: |
|
I wonder whether this could be done for the development builds too, and either replace the nightly stuff (which is 64bit only) or sit alongside to it (as a 32bit option)? It might lower the bar for users willing to test. |
|
In principle, both a 64bit and a 32bit portable could be done for the development builds. One main difference wrt to the current dev builds is the fact that I disabled the check for updates ( https://github.com/musescore/MuseScore/pull/5508/files#diff-3056168911c88e142262cb695efd9fdaR1843 ) since I couldn't manage to have it working properly. |
|
On second thought, maybe it could be useful to have debug portable development versions we could point at to possibly have more information in some cases (e.g. users experiencing bugs difficult to be reproduced). They would take a lot of disk space on the server side, though. |
|
Do you consider this PR ready to be merged? If so maybe ping @anatoly_os on Telegram. If it is too late or difficult to get done fo 3.4 then maybe 3.4.1 or 3.5. |
|
It needs a rebase first though |
008ebab to
787f826
Compare
|
Well, the rebase was not easy, I hope I did everything correctly 😅 I still have a couple of open points I'd like to have help on them before considering this PR completely ready to be merged:
|
787f826 to
f59c3d7
Compare
|
@Jojo-Schmitz are you happy with the state of this PR? 3.x has been without a portableapp (lower-case intentional) for almost 14 months. (No pressure meant, just somewhat of a sense of urgency) |
|
I for sure am happy with it |
|
Rebase needed. And it'd be great to have this as part of 3.5, finally |
|
@AntonioBL rebase is needed |
|
I am currently working on this. What about the points I was raising in #5508 (comment) ? |
|
@AntonioBL I need time to address the questions. Will postpone merging this PR to 3.5 Beta. |
|
Ok, fine. 👍 |
|
Rebased and updated.
|
Why development build?
Yes, IMHO better use
Would you want to have telemetry disabled for the PortableApp, or just make sure it doesn't leave traces on the system? I don't think telemetry creates any files or registry entries on the machine. |
It is not a true development build, but it is the PortableApps.com splash screen used for builds not yet officially approved by PortableApps.com (and hence hosted on their site). I understood that one has to submit a tentative build to them with that splash screen (to differentiate from an "approved" build) and wait for their approval, but my tentative MuseScore 3.2.3 portable, after some comments from Bart.S, is sitting there in their development forum since August 2019.
It is a quick change. "& PortableApps.com" was added to MuseScore2 portable, and I think it is relevant if the portable package is delivered by their site.
I'd like to make sure it does not leave file or registry leftovers on the system, but I don't know how to check if it is actually working. To check leftover files/registry keys I use Regshot (portable) in a clean virtual machine. |
|
@anatoly_os is this still on course for 3.5 Beta? |
|
@AntonioBL I've replied to all your points mentioned above. Is there something I need to do to make it work? ( aside from merging this PR :) )
I would use the actual splash screen and add the portableapps.com mention there if needed. As a raw text at the bottom left corner. Btw, current splash screen is generated on fly from svgs. We can use a .png specifically for portableapps, btw to simplify the process.
Yes, it should be "Musescore BVBA and others". "Others" includes portableapps.com.
I've put them to our S3 storage, so that you can update the links in the PR. The new links are:
Don't know. How can I help with that?
There are no files or data additionally stored on user's machine. Everything is processed on fly. |
|
@anatoly-os : thank you for the feedback. In principle it should then be ready for merging. 🤞 |
|
@AntonioBL Why do you use the development build splash screen? |
|
Because that is the one that shows on a self build? |
|
Indeed, it is the one created when locally building 3.x branch. |
| #if defined(WIN_PORTABLE) | ||
| // Additional text for Windows Portable version. | ||
| painter->setPen(textColor); | ||
| painter->drawText(_miscTextRect, Qt::AlignLeft | Qt::AlignBottom, "Portable version (portableapps.com)"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even with translations currently frozen that text should at least be translatable, shouldn't it?
tr("Portable version (portableapps.com)")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, address it in a separate PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see #6252
follow up for musescore#5508

Resolves: https://musescore.org/en/node/281616
These should be the modifications needed to have a portable Windows version automatically done (and uploaded) when the "x86" option is uncommented in .appveyor.yml, e.g. for a new stable release