Closed Poikilos closed 4 years ago
Hello @poikilos!
Thank you very much for your input here! Much appreciated and I would love to include this. Have a few questions first though:
1) How would one go about uninstalling (reverting the installation process)? 2) What did you base your script on? I'm assuming you didn't write this all from scratch? 3) Would you be able to create an example linux distribution zip file that I can use as an example? That would make it much easier for me to set it up.
Cheers, L~
Ok, now it creates an install.log and has an uninstall.sh. Enjoy... voxelshop-1.8.24.tar.gz
@poikilos Sweet, thank you very much! I'll try to review and add it this weekend!
@poikilos Finally had time to review this. Looking good!
I've opened a pr here: https://github.com/simlu/voxelshop/pull/298/files
However ideally we would detect if we "should" install. I.e. fail on windows. The alternative is to have different distros, but I'm not a big fan. What do you think?
I'm not sure what you mean by "fail on Windows." This file would be excluded from windows builds if possible. Is that what you mean by different distros? I see if you want to avoid that. However, maybe just add a big banner for Windows users at the top of the sh file:
#!/bin/sh
# To install on Windows:
# * Make sure you have clicked "Extract All" first
# * right-click on the jar file, then click Send to, Desktop (Create Shortcut)
Sorry for the late reply. I think I'll add different files here: install.txt
containing details on general install and rename above files as install-linux.sh
and uninstall-linux.sh
. That should hopefully be the least confusing...
I've released it as a pre-release: https://github.com/simlu/voxelshop/releases
Let me know if everything looks good and I'll make it a full release!
It looks pretty good so far! I am sending a PR to deal with the following:
I have verified that the PR resolves both issues.
Ignore the first PR on my repo, I accidentally submitted a PR to myself! The open PR #299 is the valid one.
@poikilos Merged and did another release. I'll mark it as a full release once you confirm that everything looks good!
Closing, but feel free to comment if there are any issues!
Hello, I'm not sure where to put this for a pull request, but I hope that you can make use of this.
Actual Behavior
Cannot double-click jar files in linux (not voxelshop's fault)
Expected Behavior
Unzip then use voxelshop without terminal, or at least have install.sh script to get a GUI icon.
You would also have to add the following to the linux zip builds: