-
-
Notifications
You must be signed in to change notification settings - Fork 576
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
Fix/windows build #1947
base: master
Are you sure you want to change the base?
Fix/windows build #1947
Conversation
Thanks! I'll have a proper look at this soon. |
Any updates on this? |
@hbons any chance to get this merged? |
Thanks for this. Most of this looks good, but I cannot except downloads from sources that are not vetted like these:
Is it possible to do this in a different way? |
Its almost a year since request, i cant exactly remember the reasons. |
if "git-bash" for windows is installed (which is quite a well known
package) - then you can use the command `sha256sum`. I'm almost sure it
also has `tar` (and many other Linux tools).
Download:
https://git-scm.com/download/win
For other OS's:
https://git-scm.com/downloads
…On Fri, May 21, 2021 at 2:05 PM uenz ***@***.***> wrote:
Its almost a year since request, i cant exactly remember the reasons.
TarTool maybe could be exchanged to Windows 10 tar.exe, which is now part
of windows. Not sure if it also was a year ago.
The sha256.bat script is taken from
https://github.com/npocmaka/batch.scripts/blob/master/fileUtils/sha256.bat
,
which should be legal with the link reference in it. Found no other way to
verify a file sha256 with windows.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1947 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC6NCKZFAMNCLF5E7Y7WYXLTOY46PANCNFSM4OKFUEEQ>
.
|
I´m aware of git-scm. But that can lead to a path dependency of the buildscript. |
Thanks for the update. It's not really a legal issue, it's just that the sha256 bash script can easily be changed by someone else to run whatever they want. |
Yes that’s clear, therefore the script is part of the patch. The reference in it is only for information. So only the person who clones the repo can change it. When using an other md5 tool this person could also edit the post build script with the same effect.
|
It were nice if the windows version could be updated. Thank you to all of you for your efforts! |
Package of linked wix installer was outdated
eda6a04
to
ccd7820
Compare
@hbons Now i think the job for a possible windows version is done. If you don't want the merge all these changes, which I could well understand, i would like to "publish" an unofficial windows build on my fork page so that other could profit from my effort. But only if that is ok for you, because it is your project. |
@uenz - thank you for the so much awaited update to the Windows front-end. Is there any CI pipeline in your fork that builds the Windows install packages automatically? Here is an example of such CI and here are the artifacts. |
@AvtechScientific At the moment not. I don´t think that it is that easy because of the gui. I´l have a look. |
Also the example I have provided has gui. I actually assume it will be easier in the SparkleShare case. Probably this .NET docker image can help. Or maybe .NET and Wix in one image. |
Hi @hbons! We are a charity where needy people are provided with occupation of digitizing ancient books. We use git as our repository. Since most editors are non-tech-savvy Windows user - we heavily rely on SparkleShare's (old) Windows frontend (which has several acute problems). May I ask you to update/merge it, please?... Thank you for your great tool! |
Hi @hbons, |
That's a great news! Waited for it for years! Thank you! |
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.
@hbons : Here a working ci with deployment for Windows and MacOS.
In travis.yml i changed to jobs syntax and added deployment for windows and macos. Each untagged commit to master triggers a deployment. Commits to all other branches behave like before.
For the publishing it is necessary to set the ENV Variable GITHUB_TOKEN in travis-ci. It must contain an oauth key from github.
Unfortunately the linux docker command does not create an tar.gz file. So no deployment for linux yet.
The deployment publishes as draft, wich is only visible for project members. draft: false publishes directly.
Here is a sample output of the CI.
Here an short explanation of the changes
Changes in MacVersion:
- Removed Linux and Windows for ReleaseDist in solution to compile without error
- Fixed missing path in
checkGit.sh
to letpostBuild.sh
run without error
Changes in Common Files:
- openssl is hardcoded without path. So openssl needs to be in path. This is not so good for Windows. So added option to set the path from outside. Default is as before.
- Added debug output if a command is not found
Changes for Windows:
- Automated git download
- For ssh-keyscan, ssh-keygen and ssl use precompiled poweshell versions
- Fixed missing / not working GUI elements
- Fixed installer
@uenz: could you, please check and confirm that your SparkleShare-windows-nightly.msi can clone a new project? I was not able to clone my SparkleShare fork on GitHub. However I must admit that it could be due to me messing around with the old and new installation and the Windows' AppData folder... Thank you for the great PR! |
@BinyaminPekar Its a bit offtopic here, so please file an issue here. Then we get a place for discussion. |
Changed engine to git-scm Merged latest changes
Based on pull-request of etinin
Changed to the same git as the MacOS version uses.
Changed to use Windows native OpenSSH.
The requirements are checked and automatically downloaded as a post build step.