Skip to content

Conversation

@Ippo343
Copy link

@Ippo343 Ippo343 commented Jul 20, 2014

Adds a new radio button to the first-time popup that also asks the user if he wants to enable the statistics collection. I also moved a couple of checks in the start method so that the popup is executed first.

If I understand how the unity GUI stuff works, it should start enabled (it does in my install).

You will also want to edit the text in the popup I guess.

Adds a radio button to the first time popup asking the user if he wants
to enable the statistics collection.

I tested it on my install and it seems to work as intended.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These HintPaths would make the solution unbuildable by anyone without the same folder structure to find the references in.

I'd recommend putting a Dependencies folder at the solution root and referencing the assemblies from there, that way a relative path would be used for the HintPath and people can just be told to place the appropriate assemblies there.

An even better solution would be to include JsonFx.dll in the source tree as its license (MIT) allows, probably with its own license next to it to make it clear Majiir's ARR license does not apply to it. UnityEngine.dll may also be included which is allowed here. Unfortunately KSP's own Assembly-CSharp.dll would not be redistributable and have to be likely placed in a .gitignore so no one commits it.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'm dumb and cannot into github. I mean to commit only the main file and also commited the solution files.

Can I edit a pull request to remove those 2 files?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

git checkout ef16415525 ./ModStatistics.csproj
git rm ./ModStatistics.sln
git commit -m "Reverting changes to project and solution"

Would create a commit which effectively backs out those changes, which you can then push and this pull request will be automatically updated.

(ef16415 being the commit that's currently the head of master in Majiir's repo).

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still prefer to have the deps in source control (or better yet NuGet), but alas. 😃

Reverted the cdproj and delete the sln
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants