Skip to content
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

Made changes to enable compilation. #716

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mikeschinkel
Copy link

@mikeschinkel mikeschinkel commented Dec 29, 2021

I wanted to get this to compile. These are my fixes if you want them.

I cloned this project to check it out and see if I could learn from it, but quickly found out that it wouldn't compile. So after spending several hours fixing it to compile, I figured I should at least share my effort with you the owner of the repo in case you do want to accept the fixes. Below is the commit message:

==================================

Since clones from the source repo running build.bat would fail to compile
and/or generate a setup file. These changes enable it to compile and to
reduce the number of error messages generated during build.

  1. Added a check in build.bar to look for file named GOTIDY and if found
    it will run go mod tidy before each go build
  2. Added a check for buildtools\signtool.exe and if not found displays a
    message with a URL where it can be downloaded.
  3. VersionInfoTextVersion and VersionInfoProductTextVersion to nvm.iss
    to stop InnoSetup from generating a warning message about them
  4. Added TODO about fixing InnoSetup message related to PrivilegesRequired
    See: https://stackoverflow.com/a/44575671/102699
  5. Added golang.org/x/sys in go.mod for updater to get it to compile.
  6. Removed the replace in go.mod for nvm that referred to author's local
    machine and updated go-fsutil require from v1.1.1 to v1.2.0
  7. DID NOT FIX SignTool Error: "No certificates were found that met all
    the given criteria."

Since clones from the source repo running build.bat would fail to compile
and/or generate a setup file. These changes enable it to compile and to
reduce the number of error messages generated during build.

1. Added a check in build.bar to look for file named GOTIDY and if found
   it will run `go mod tidy` before each `go build`
2. Added a check for buildtools\signtool.exe and if not found displays a
   message with a URL where it can be downloaded.
3. `VersionInfoTextVersion` and `VersionInfoProductTextVersion` to nvm.iss
   to stop InnoSetup from generating a warning message about them
4. Added TODO about fixing InnoSetup message related to `PrivilegesRequired`
   See: https://stackoverflow.com/a/44575671/102699
5. Added golang.org/x/sys in go.mod for updater to get it to compile.
6. Removed the replace in go.mod for nvm that referred to author's local
   machine and updated go-fsutil require from v1.1.1 to v1.2.0
7. DID NOT FIX SignTool Error: "No certificates were found that met all
   the given criteria."
@github-actions
Copy link

This PR is stale because it has been open 45 days with no activity.

@github-actions github-actions bot added the Stale Stale label Jan 29, 2022
@coreybutler coreybutler removed the Stale Stale label Feb 25, 2022
@guilhermodev
Copy link

l

@github-actions
Copy link

github-actions bot commented May 2, 2022

This PR is stale because it has been open 45 days with no activity.

@github-actions github-actions bot added the Stale Stale label May 2, 2022
@mikeschinkel
Copy link
Author

@guilhermodev Updated to resolve the merge conflict.

@github-actions github-actions bot removed the Stale Stale label May 3, 2022
@github-actions
Copy link

github-actions bot commented Jun 3, 2022

This PR is stale because it has been open 45 days with no activity.

@github-actions github-actions bot added the Stale Stale label Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants